Files
firefox/testing/web-platform/tests/worklets/layout-worklet-referrer.https.html
Dominic Farolino 7c8aabdc0a Bug 1582511 [wpt PR 19165] - Add missing worklet referrer tests, a=testonly
Automatic update from web-platform-tests
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.

[email protected], [email protected]

Bug: 786862,1004083
Change-Id: I4425be4264424b52e4ec307513a404541869f2a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1813122
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Dominic Farolino <[email protected]>
Cr-Commit-Position: refs/heads/master@{#699351}

--
Add long timeout to worklet referrer tests

They take close to 10 seconds on Firefox:
https://github.com/web-platform-tests/wpt/pull/19165#issuecomment-534985874

--

wpt-commits: 98c89472a9e6359bfac5b40b05188c9c5b39be79, eaa551911f12c5c526f56cafd0c7ab24667ead3c
wpt-pr: 19165
2019-09-26 20:26:34 +00:00

17 lines
440 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="timeout" content="long">
<script src="/common/get-host-info.sub.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/worklet-test-utils.js"></script>
<script src="resources/referrer-tests.js"></script>
</head>
<body>
<script>
runReferrerTests("layout");
</script>
</body>
</html>