Bug 226769 - Cross-Origin requests not working on iOS 15 beta with WKURLSchemeHandler
Summary: Cross-Origin requests not working on iOS 15 beta with WKURLSchemeHandler
Status: RESOLVED DUPLICATE of bug 226760
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: iPhone / iPad Other
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2021-06-08 07:52 PDT by Niklas Merz
Modified: 2021-07-14 12:25 PDT (History)
5 users (show)

See Also:


Attachments
Inital repro app (5.06 MB, application/zip)
2021-06-08 07:52 PDT, Niklas Merz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Merz 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.
Comment 1 Radar WebKit Bug Importer 2021-06-08 12:23:59 PDT
<rdar://problem/79027363>
Comment 2 Alex Christensen 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 ***
Comment 3 Niklas Merz 2021-06-24 23:48:17 PDT
This issue has been fixed and release with iOS 15 Developer beta 2.

Thank you very much.
Comment 4 Alex Christensen 2021-06-24 23:49:00 PDT
Glad to hear it
Comment 5 Niklas Merz 2021-07-01 23:31:58 PDT
Looks like the latest Developer Beta 2 (19A5281j) brought this issue back. I got CORS issues again.