Closed Bug 1760736 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 33294 - Add WPTs for early hints between redirect

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33294 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33294
Details from upstream follow.

Kenichi Ishibashi <bashi@chromium.org> wrote:

Add WPTs for early hints between redirect

Test scenario is that sending 101 -> 302 -> 101 -> 200 responses. The
redirect is either the same origin or cross origin. Each 101 response
contains a preload link header.

For the same origin redirect the second 101 should be ignored.
For the cross origin redirect the first 101 should not appear.

Currently the cross origin redirect test is failing since at the time
the second 101 is arrived an appropriate RenderProcessHost isn't ready
yet. NavigationEarlyHintsManager needs a RenderProcessHost to handle
preload requests.

Bug: 1305896
Change-Id: Ifc0163bd14aeba9dbcf672159659ae6cca53c2d9
Reviewed-on: https://chromium-review.googlesource.com/3539768
WPT-Export-Revision: 71d6f121eea5fed73f7517bf606942fa124a814a

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL : 2

Chrome

ERROR: 2

Safari

ERROR: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/loading/early-hints/redirect-cross-origin-between-early-hints.h2.window.html
Early hints -> cross origin redirect -> early hints -> final response.: FAIL
/loading/early-hints/redirect-same-origin-between-early-hints.h2.window.html
Early hints -> same origin redirect -> early hints -> final response.: FAIL

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bbd9d9836c6 [wpt PR 33294] - Add WPTs for early hints between redirect, a=testonly https://hg.mozilla.org/integration/autoland/rev/77dfab2e99e7 [wpt PR 33294] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.