Bug 205198 - Allow cross-origin requests to WKURLSchemeHandlers
Summary: Allow cross-origin requests to WKURLSchemeHandlers
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
: 199064 201180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-12 21:46 PST by Alex Christensen
Modified: 2019-12-13 14:38 PST (History)
5 users (show)

See Also:


Attachments
Patch (5.09 KB, patch)
2019-12-12 21:47 PST, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (6.54 KB, patch)
2019-12-13 10:27 PST, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (6.02 KB, patch)
2019-12-13 11:07 PST, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (6.95 KB, patch)
2019-12-13 11:23 PST, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (7.13 KB, patch)
2019-12-13 13:46 PST, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2019-12-12 21:46:10 PST
Add SPI to allow cross-origin requests with custom schemes
Comment 1 Alex Christensen 2019-12-12 21:47:46 PST
Created attachment 385576 [details]
Patch
Comment 2 Alex Christensen 2019-12-12 21:47:48 PST
<rdar://problem/57897836>
Comment 3 Alex Christensen 2019-12-13 10:27:31 PST
Created attachment 385616 [details]
Patch
Comment 4 Alex Christensen 2019-12-13 11:07:08 PST
Created attachment 385618 [details]
Patch
Comment 5 Brady Eidson 2019-12-13 11:09:04 PST
Comment on attachment 385618 [details]
Patch

Document in header docs?
Comment 6 Alex Christensen 2019-12-13 11:23:38 PST
Created attachment 385621 [details]
Patch
Comment 7 Alex Christensen 2019-12-13 12:15:09 PST
Comment on attachment 385621 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=385621&action=review

> Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTask.h:42
> + Cross-origin requests require an NSHTTPURLResponse with CORS header fields.

I'm committing this with just "Cross-origin requests require CORS header fields."
Comment 8 Alex Christensen 2019-12-13 13:46:27 PST
Created attachment 385639 [details]
Patch
Comment 9 Alex Christensen 2019-12-13 13:52:40 PST
*** Bug 199064 has been marked as a duplicate of this bug. ***
Comment 10 Alex Christensen 2019-12-13 13:52:50 PST
*** Bug 201180 has been marked as a duplicate of this bug. ***
Comment 11 WebKit Commit Bot 2019-12-13 14:38:32 PST
Comment on attachment 385639 [details]
Patch

Clearing flags on attachment: 385639

Committed r253501: <https://trac.webkit.org/changeset/253501>
Comment 12 WebKit Commit Bot 2019-12-13 14:38:33 PST
All reviewed patches have been landed.  Closing bug.