mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
Update web-platform-tests to revision 786fc058fd83cbf002be3a35100ab2a3b1f98d58
This commit is contained in:
parent
748fa72320
commit
d38b1c8241
76 changed files with 1323 additions and 174 deletions
|
@ -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, "",
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue