Closed Bug 1691880 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27563 - Do not change referrer policy on document.open

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

b'Antonio Sartori <antoniosartori@chromium.org>' wrote:

Do not change referrer policy on document.open

At the moment on document.open chrome sets the referrer policy of the
opened document to be equal to the referrer policy of the
entryDocument. This CL removes this step, keeping the previous
referrer policy instead.

Fixed: 1174496
Bug: 1130587,1174496
Change-Id: Ica4740bbd2baed0ca5bb6770c3c38132573eb374
Reviewed-on: https://chromium-review.googlesource.com/2674927
WPT-Export-Revision: 600bb7838876ffd8ba83db29d4cae41011ddd28d

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14688023066a
[wpt PR 27563] - Do not change referrer policy on document.open, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc08a784a1fd
[wpt PR 27563] - Do not change referrer policy on document.open, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0501cc077bc2
[wpt PR 27563] - Do not change referrer policy on document.open, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.