Closed Bug 1609940 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21232 - Referrer Policy: inheritance with javascript: URLs and document.write()

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

Referrer Policy: inheritance with javascript: URLs and document.write()

This cleans up some existing tests and adds new tests with results I expect from reading the specification, but do not see confirmed in implementations.

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

CI Results

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

Total 47 tests

Status Summary

Firefox

OK : 6
PASS: 3[GitHub] 44[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 6

Chrome

OK : 6
PASS: 6
FAIL: 3

Safari

OK : 6
PASS: 5
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html
Referrer Policy: iframes with javascript url reuse referrer policy 1: FAIL
Referrer Policy: iframes with javascript url reuse referrer policy 2: FAIL

New Tests That Don't Pass

/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html
Referrer Policy: iframes with javascript url reuse referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
Referrer Policy: iframes with javascript url reuse referrer policy 1: FAIL (Chrome: PASS, Safari: PASS)
Referrer Policy: iframes with javascript url reuse referrer policy 3: FAIL (Chrome: FAIL, Safari: FAIL)
Referrer Policy: iframes with javascript url reuse referrer policy 2: FAIL (Chrome: PASS, Safari: PASS)
/referrer-policy/generic/inheritance/iframe-inheritance-javascript.html
Referrer Policy: iframes with javascript url reuse referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
/referrer-policy/generic/inheritance/iframe-inheritance-document-write.html
Referrer Policy: iframes with document.write(): FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a4a8ea61eac
[wpt PR 21232] - Referrer Policy: inheritance with javascript: URLs and document.write(), a=testonly
https://hg.mozilla.org/integration/autoland/rev/3f86e59e63dc
[wpt PR 21232] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.