Closed Bug 1881376 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44721 - Include more detail in speculation rules referrer policy warning

Categories

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

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
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

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

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

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

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

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

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9839b0cf7f1 [wpt PR 44721] - Include more detail in speculation rules referrer policy warning, a=testonly

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

Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.