Closed Bug 1896091 Opened 1 year ago Closed 11 months ago

[wpt-sync] Sync PR 46199 - Revert "Use resource-level referrer policy for attributionsrc requests"

Categories

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

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Andrew Paseltiner <apaseltiner@chromium.org> wrote:

Revert "Use resource-level referrer policy for attributionsrc requests"

This reverts commit 4c4802b8681c23f09e62c1fb82ed2c00a65d12a6.

Reason for revert: Getting approvals on the revert in case launch approvals are not received in time.

Original change's description:

Use resource-level referrer policy for attributionsrc requests

For \<img> and \<script> the attributionsrc request's referrer policy now
matches the subresource's policy, rather than the document-level
default.

For \<a> and window.open, the attribution src request's referrer policy
now matches that of the navigation, rather than the per-request default.

https://github.com/WICG/attribution-reporting-api/issues/382
https://github.com/WICG/attribution-reporting-api/pull/1254

Change-Id: I763c055aef45fc17d41a3ba29b4f6ebfe24646cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5463164
Reviewed-by: Dominic Farolino \<dom@chromium.org>
Reviewed-by: Nan Lin \<linnan@chromium.org>
Commit-Queue: Andrew Paseltiner \<apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1294868}

Change-Id: I0b25937972ce74dc7519da5f2a6a2664d7ff6134

Reviewed-on: https://chromium-review.googlesource.com/5527565
WPT-Export-Revision: 707771b0a0c6540fa492b9d669fd8212b767cba5

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.