[wpt-sync] Sync PR 44721 - Include more detail in speculation rules referrer policy warning
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox125 fixed)
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44721 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44721
Details from upstream follow.
Kevin McNee <mcnee@chromium.org> wrote:
Include more detail in speculation rules referrer policy warning
In the warning message for the case of a cross-site preload attempt with
a lax referrer policy, we currently identify the referrer policy as the
issue, but we don't offer any explanation of a possible fix. We now
mention the speculation rules "referrer_policy" key as an option and for
document rules we also mention setting the referrer policy of the
matched link. We also include the DOM nodes for the rule set and matched
link whenever they're available.We also add some document rule WPT test coverage related to these cases.
Bug: 40859531
Change-Id: I3084a4ac424dd8de9a43387e8e890acab84584b8
Reviewed-on: https://chromium-review.googlesource.com/5316020
WPT-Export-Revision: b9a9b78e3c9c292af9d8b70792ad4edfe100bdcd
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 4•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 5•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 6•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 7•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 9•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 1 subtests
Status Summary
Firefox
ERROR
: 11
Chrome
OK
: 11
PASS
: 10
FAIL
: 1
Safari
ERROR
: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/referrer-policy-from-rules.https.html?6-6 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?4-4 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?3-3 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?7-7 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?5-5 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-from-rules.https.html?8-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?1-1 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?2-2 [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /speculation-rules/prefetch/referrer-policy-not-accepted.https.html?3-last [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Assignee | ||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
Description
•