Update web-platform-tests to revision 786fc058fd83cbf002be3a35100ab2a3b1f98d58

This commit is contained in:
WPT Sync Bot 2019-09-20 10:34:03 +00:00
parent 748fa72320
commit d38b1c8241
76 changed files with 1323 additions and 174 deletions

View file

@ -49,6 +49,13 @@ test(t => {
}, "Importing a remote-origin descendant script from a same-origin top-level " +
"script with the no-referrer policy.");
test(t => {
assert_equals(
referrerRemoteRemote, "",
"Referrer should not be sent for the remote-origin descendant script.");
}, "Importing a remote-origin descendant script from a remote-origin " +
"top-level script with the no-referrer policy.");
test(t => {
assert_equals(
referrerRemoteSame, "",

View file

@ -39,6 +39,7 @@ test(t => {
"Referrer should be sent for the remote-origin top-level script.");
}, "Importing a remote-origin top-level script with the " +
"origin-when-cross-origin policy.");
test(t => {
const scriptURL =
new URL("resources/import-referrer-checker.sub.js", location.href)
@ -47,6 +48,7 @@ test(t => {
"Referrer should be sent for the same-origin descendant script.");
}, "Importing a same-origin descendant script from a same-origin top-level " +
"script with the origin-when-cross-origin policy.");
test(t => {
assert_equals(
referrerSameRemote, origin,