Bug 1760189 [wpt PR 33170] - Add redirect WPTs for Early Hints, a=testonly
commit990a4cec60f1fc77feed0efba5e7a0cccbf721cd
authorKenichi Ishibashi <bashi@chromium.org>
Thu, 24 Mar 2022 11:55:13 +0000 (24 11:55 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 26 Mar 2022 10:34:00 +0000 (26 10:34 +0000)
treed5a735bbf8469a7e28ce64a59cda30f9fd14a9f1
parent1a8272a31600538af8d3dd4fe8c6abfa3318e7aa
Bug 1760189 [wpt PR 33170] - Add redirect WPTs for Early Hints, a=testonly

Automatic update from web-platform-tests
Add redirect WPTs for Early Hints

These tests preload a script in Early Hints then redirect to same/cross
origins. The same origin test is currently failing. A follow-up CL will
fix the implementation.

Bug: 1305896

Change-Id: Ice40f71ca77074efbdb28207cae8b23e6dacfc01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3520777
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#980997}

--

wpt-commits: c72c50086daa6d514f1fd06882e713afc4db9505
wpt-pr: 33170
testing/web-platform/tests/loading/early-hints/redirect-cross-origin.h2.window.js [new file with mode: 0644]
testing/web-platform/tests/loading/early-hints/redirect-same-origin.h2.window.js [new file with mode: 0644]
testing/web-platform/tests/loading/early-hints/resources/early-hints-helpers.sub.js
testing/web-platform/tests/loading/early-hints/resources/empty.js.headers
testing/web-platform/tests/loading/early-hints/resources/preload-initiator-type.html
testing/web-platform/tests/loading/early-hints/resources/redirect-cross-origin.html [new file with mode: 0644]
testing/web-platform/tests/loading/early-hints/resources/redirect-same-origin.html [new file with mode: 0644]
testing/web-platform/tests/loading/early-hints/resources/redirect-with-early-hints.h2.py [new file with mode: 0644]
testing/web-platform/tests/loading/early-hints/resources/referrer-policy-test.html