https://github.com/niklasmerz/cors-playground
Cordova App with CORS experiments
https://github.com/niklasmerz/cors-playground
Last synced: about 1 year ago
JSON representation
Cordova App with CORS experiments
- Host: GitHub
- URL: https://github.com/niklasmerz/cors-playground
- Owner: NiklasMerz
- Created: 2020-10-15T12:59:45.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-15T13:15:49.000Z (almost 6 years ago)
- Last Synced: 2024-12-31T12:48:58.227Z (over 1 year ago)
- Language: Objective-C
- Size: 1.94 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iOS Cordova CORS testing
With this app you can try out CORS and the built in Cordova proxy: https://github.com/apache/cordova-ios/pull/1004
Some scenarios I tried
| What to do | Expected Output | Actual Output | Notes |
|-----------------------------------------------|-------------------|-------------------|------------------------------------------|
| CORS request with cookies and no allow origin | fail | fail | |
| CORS request with cookies and allow origin | work | fail | Used to work until iOS 14/ITP enablement |
| Proxy requests | work all the time | work all the time | |
| Proxy requests and then unproxied requests with allow origin| work | fail | Used to work until iOS 14/ITP enablement |
| Load image tags with cookies set | work | fail | Used to work until iOS 14/ITP enablement |