I'm not quite sure what release this feature is in, but I wrote tests and got them landed in web-platform-tests at fetch/cross-origin-resource-policy and I suspect there may be a failure, especially given that we decided on the HTTPS restriction quite late.
(In reply to Anne van Kesteren from comment #0) > I'm not quite sure what release this feature is in, but I wrote tests and > got them landed in web-platform-tests at fetch/cross-origin-resource-policy > and I suspect there may be a failure, especially given that we decided on > the HTTPS restriction quite late. Great to hear web-platform-tests tests are landed, I was waiting for them to update the implementation and remove our redundant tests.
<rdar://problem/41209829>
Only WPT failure seems to be related to case-insensitive comparison of the value. WebKit currently allows SAME-ORIGIN. It does not seem that we have yet added tests for HTTP same origin loads from HTTPS contexts.
If you mean same site, that would be fetch/cross-origin-resource-policy/scheme-restriction.https.window.js For origin HTTP/HTTPS does not matter as the scheme has to be identical.
Created attachment 344499 [details] Patch
Comment on attachment 344499 [details] Patch Attachment 344499 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/8487321 New failing tests: http/wpt/cross-origin-resource-policy/fetch.html
Created attachment 344645 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
Comment on attachment 344499 [details] Patch Attachment 344499 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/8488465 New failing tests: media/media-fullscreen-return-to-inline.html
Created attachment 344650 [details] Archive of layout-test-results from ews102 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 344662 [details] Patch
Comment on attachment 344662 [details] Patch Clearing flags on attachment: 344662 Committed r233739: <https://trac.webkit.org/changeset/233739>
All reviewed patches have been landed. Closing bug.