Closed Bug 1792051 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36022 - Prefetch: Use referring page's referrer policy for the request

Categories

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

task

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kevin McNee <mcnee@chromium.org> wrote:

Prefetch: Use referring page's referrer policy for the request

We plumb the referrer and referrer policy to the PrefetchService where
they are used for the prefetch network request.

We also introduce the restriction for prefetch to use "sufficiently
strict speculative navigation referrer policies" per the spec.

Bug: 1355146
Change-Id: If18a61270e34519b339c8b534ca426efdb28fed6
Reviewed-on: https://chromium-review.googlesource.com/3910832
WPT-Export-Revision: 61dda5ef4c2ae85c50cfb834184cdfdc180f1424

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 20 tests and 1 subtests

Status Summary

Firefox

OK : 18[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 20[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
FAIL : 20[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 22[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
TIMEOUT: 2

Chrome

OK : 20
FAIL : 22

Safari

OK : 20
FAIL : 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/124b559a2cd1 [wpt PR 36022] - Prefetch: Use referring page's referrer policy for the request, a=testonly https://hg.mozilla.org/integration/autoland/rev/78824d3bcbce [wpt PR 36022] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.