Closed Bug 1681763 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 26839 - WPT test: referrer on navigation from opaque origin.

Categories

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

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

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

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

b'arthursonzogni <arthursonzogni@chromium.org>' wrote:

WPT test: referrer on navigation from opaque origin.

Bug showed there was a mismatch in between Chrome and Firefox about
the referrer sent during a navigation, when initiated from a document
with an opaque origin.

Chrome:
No referrer sent for both subresources and main resources.

Firefox:
No referrer sent for subresources, but a referrer is sent for main
resources.

This patch is meant to help making web browser to eventually converge.

We believe the correct behavior is not to send the referrer:

[http-network-or-cache-fetch]: https://fetch.spec.whatwg.org/#http-network-or-cache-fetch).

Fixed:1109065
Bug:1109065
Change-Id: I15c80d52d963fc8e8a1318e4bf89fe72234c5fc6

Reviewed-on: https://chromium-review.googlesource.com/2584029
WPT-Export-Revision: 081d8a0a2956d99d305c2640486ee5438458d491

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 4

Safari

OK : 1
PASS: 1
FAIL: 3

Links

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/afd0070793f4 [wpt PR 26839] - WPT test: referrer on navigation from opaque origin., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.