[Webkit-unassigned] [Bug 199064] New: WKURLSchemeHandler does't run the CORS rule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 20 02:08:31 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199064

            Bug ID: 199064
           Summary: WKURLSchemeHandler does't run the CORS rule
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ljin.zq at gmail.com

When I setup a WKURLSchemeHandler with my custom Scheme, then send a XMLHTTPURLRequst .
Just like the following code:

var request = new XMLHttpRequest();
request.open('GET', 'https://www.apple.com/ac/globalnav/3/en_US/images/globalnav/search/image_small.svg', false);
request.send(null);


Webkit send the request immediately, but not send a Option request to www.apple.com which the CORS rule needed.


I hope WKURLSchemeHandler  should support CORS in the feature.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190620/128e2e36/attachment-0001.html>


More information about the webkit-unassigned mailing list