Closed Bug 1582511 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 19165 - Add missing worklet referrer tests

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Dominic Farolino <dom@chromium.org> wrote:

Add missing worklet referrer tests

This CL adds more web-platform-tests for the Referer on worklet
descendant requests. This CL introduces tests where we fetch a
same-origin descendant script from a cross-origin worklet script served
with varying referrer policies.

The tests are similar to those introduced in crrev.com/c/1809205 for
module scripts, and will pass once crrev.com/c/1808663 is merged.

R=ikilpatrick@chromium.org, kouhei@chromium.org

Bug: 786862,1004083
Change-Id: I4425be4264424b52e4ec307513a404541869f2a1

Reviewed-on: https://chromium-review.googlesource.com/1813122
WPT-Export-Revision: 3e81b606a436948af5aa37e602f06750b975bda7

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 4 tests and 72 subtests
OK     : 4
PASS   : 6
FAIL   : 66

New tests that have failures or other problems:
/worklets/animation-worklet-referrer.https.html
    Importing a same-origin script from a remote-origin worklet script that has "no-referrer" referrer policy should not send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "origin" referrer policy should send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "same-origin" referrer policy should send referrer.: FAIL
/worklets/audio-worklet-referrer.https.html
    Importing a same-origin script from a remote-origin worklet script that has "no-referrer" referrer policy should not send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "origin" referrer policy should send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "same-origin" referrer policy should send referrer.: FAIL
/worklets/layout-worklet-referrer.https.html
    Importing a same-origin script from a remote-origin worklet script that has "no-referrer" referrer policy should not send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "origin" referrer policy should send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "same-origin" referrer policy should send referrer.: FAIL
/worklets/paint-worklet-referrer.https.html
    Importing a same-origin script from a remote-origin worklet script that has "no-referrer" referrer policy should not send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "origin" referrer policy should send referrer.: FAIL
    Importing a same-origin script from a remote-origin worklet script that has "same-origin" referrer policy should send referrer.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b1a16410004
[wpt PR 19165] - Add missing worklet referrer tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca4f72a67a5f
[wpt PR 19165] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.