Bug 226769

Summary: Cross-Origin requests not working on iOS 15 beta with WKURLSchemeHandler
Product: WebKit Reporter: Niklas Merz <niklasmerz>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: achristensen, john.hartmann, webkit-bug-importer, webkit, wilander
Priority: P2 Keywords: InRadar, Regression
Version: Safari Technology Preview   
Hardware: iPhone / iPad   
OS: Other   
Attachments:
Description Flags
Inital repro app none

Niklas Merz
Reported 2021-06-08 07:52:19 PDT
Created attachment 430841 [details] Inital repro app We have an app using WKURLSchemeHandler to run a custom scheme and CORS requests seem to be broken in the latest iOS 15 Developer beta. I have built a small reproduction app using Apache Cordova. Cordova uses WKWebView and WKURLSchemeHandler to open a local HTML file on the origin myscheme://myapp. The test button fires a request that should allow CORS request from all origins. Something like this used to work with iOS 14. This app can be tested with Cordovas CLI or just start the Xcode project in the platforms folder. This is just my inital observation. I will investigate further.
Attachments
Inital repro app (5.06 MB, application/zip)
2021-06-08 07:52 PDT, Niklas Merz
no flags
Radar WebKit Bug Importer
Comment 1 2021-06-08 12:23:59 PDT
Alex Christensen
Comment 2 2021-06-11 17:23:32 PDT
Thanks for reporting this. I verified this was fixed by r278737 *** This bug has been marked as a duplicate of bug 226760 ***
Niklas Merz
Comment 3 2021-06-24 23:48:17 PDT
This issue has been fixed and release with iOS 15 Developer beta 2. Thank you very much.
Alex Christensen
Comment 4 2021-06-24 23:49:00 PDT
Glad to hear it
Niklas Merz
Comment 5 2021-07-01 23:31:58 PDT
Looks like the latest Developer Beta 2 (19A5281j) brought this issue back. I got CORS issues again.
Note You need to log in before you can comment on or make changes to this bug.