[wpt-sync] Sync PR 33469 - speculation-rules prefetch WPT tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox101 fixed)
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33469 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33469
Details from upstream follow.
Iman Saboori <isaboori@google.com> wrote:
speculation-rules prefetch WPT tests
- speculation-rules prefetch should not work for http documents.
- prefetch algorithm should assert url’s scheme is https and not http
- any invalid/extra field in speculation-rules script should disable
prefetching of pages. test for anonymizationPolicy. Based on the spec,
the “Sec-Purpose” request header should also include a parameter with
the "anonymous-client-ip" keyBug: 1302365
Change-Id: I562e78c6b116729557013d374b00793518c62a47
Reviewed-on: https://chromium-review.googlesource.com/3566078
WPT-Export-Revision: c91100c00b859140504d100bff09b91915b26cc2
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d36663e1ff752785d47f049c7438802142f2c8d6
Assignee | ||
Comment 2•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d03ba99305354771ce921acee4591da962679304
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 1 subtests
Status Summary
Firefox
OK : 6
FAIL: 6
Chrome
OK : 6
FAIL: 6
Safari
OK : 6
FAIL: 6
Links
Details
New Tests That Don't Pass
/speculation-rules/prefetch/anonymous-client.https.html
test anonymous-client url prefetch for cross origin pages: FAIL (Chrome: FAIL, Safari: FAIL)
/speculation-rules/prefetch/invalid-rules.https.html
an unrecognized key in a prefetch rule should prevent it from being fetched: FAIL (Chrome: FAIL, Safari: FAIL)
/speculation-rules/prefetch/prefetch-single.https.html?from_protocol=http&to_protocol=https
test single https url prefetch from a http url: FAIL (Chrome: FAIL, Safari: FAIL)
/speculation-rules/prefetch/prefetch-single.https.html?from_protocol=http&to_protocol=http
test single http url prefetch from a http url: FAIL (Chrome: FAIL, Safari: FAIL)
/speculation-rules/prefetch/prefetch-single.https.html?from_protocol=https&to_protocol=http
test single http url prefetch from a https url: FAIL (Chrome: FAIL, Safari: FAIL)
/speculation-rules/prefetch/prefetch-single.https.html?from_protocol=https&to_protocol=https
test single https url prefetch from a https url: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0a5049a5e415 [wpt PR 33469] - speculation-rules prefetch WPT tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/e8f1d117202e [wpt PR 33469] - Update wpt metadata, a=testonly
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a5049a5e415
https://hg.mozilla.org/mozilla-central/rev/e8f1d117202e
Description
•