RESOLVED FIXED 168649
Relax Request constructor around referrers
https://bugs.webkit.org/show_bug.cgi?id=168649
Summary Relax Request constructor around referrers
Anne van Kesteren
Reported 2017-02-21 01:21:43 PST
See https://github.com/whatwg/fetch/pull/377 for the change to the standard. http://w3c-test.org/fetch/api/policies/referrer-origin.html has a test, but please read https://github.com/w3c/web-platform-tests/issues/2618 for why the first test fails there (and the second test might too I suppose).
Attachments
Patch (8.88 KB, patch)
2018-08-19 03:35 PDT, Rob Buis
no flags
Archive of layout-test-results from ews205 for win-future (12.90 MB, application/zip)
2018-08-19 05:47 PDT, EWS Watchlist
no flags
Patch (9.55 KB, patch)
2018-08-20 00:59 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2018-08-19 03:35:57 PDT
EWS Watchlist
Comment 2 2018-08-19 05:47:32 PDT
Comment on attachment 347456 [details] Patch Attachment 347456 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/8908117 New failing tests: legacy-animation-engine/imported/blink/transitions/unprefixed-transform.html
EWS Watchlist
Comment 3 2018-08-19 05:47:43 PDT
Created attachment 347457 [details] Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Darin Adler
Comment 4 2018-08-19 17:06:31 PDT
Comment on attachment 347456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=347456&action=review > Source/WebCore/Modules/fetch/FetchRequest.cpp:62 > - return Exception { TypeError, "Referrer is not same-origin."_s }; > + return String { "client" }; This, and the code above, should be using String { "client"_s } so we get the ASCIILiteral optimization. Same for "no-referrer"_s.
Rob Buis
Comment 5 2018-08-20 00:59:03 PDT
WebKit Commit Bot
Comment 6 2018-08-20 01:42:58 PDT
Comment on attachment 347486 [details] Patch Clearing flags on attachment: 347486 Committed r235025: <https://trac.webkit.org/changeset/235025>
WebKit Commit Bot
Comment 7 2018-08-20 01:43:00 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2018-08-20 16:53:38 PDT
Note You need to log in before you can comment on or make changes to this bug.