Files
firefox/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module
Dominic Farolino a5c0d8d2a4 Bug 1582501 [wpt PR 19163] - Add missing module descendant test, a=testonly
Automatic update from web-platform-tests
Add missing module descendant test

This CL adds a web-platform-test for a page with a remote-origin module
script that loads a descendant script that is same-origin with the page.
The test asserts that the referrer header for the descendant is
generated correctly for pages with the policies `no-referrer`,
`same-origin`, `origin-when-cross-origin`, `unsafe-url`.

The tests were originally a part of crrev.com/c/1786260, however given
the complications with the CL and the necessity of these tests, I am
landing them separately.

[email protected], [email protected], [email protected]

Bug: 786862,1004083
Change-Id: I8768e5a4b23c75b72c4befdbacff717c0d5296c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809205
Reviewed-by: Kouhei Ueno <[email protected]>
Reviewed-by: Yutaka Hirano <[email protected]>
Commit-Queue: Dominic Farolino <[email protected]>
Cr-Commit-Position: refs/heads/master@{#698083}

--

wpt-commits: 7b32d10755803a1413ae7813f157906bad31525e
wpt-pr: 19163
2019-09-20 21:50:08 +00:00
..