mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision a589fd30bc64bb4d40e1d6854e07accca69b8472
This commit is contained in:
parent
81ab255b70
commit
fd4e600639
57 changed files with 1735 additions and 208 deletions
|
@ -1,4 +1,4 @@
|
|||
// META: global=window,worker
|
||||
// META: global=window,dedicatedworker,sharedworker
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
|
||||
const host = get_host_info();
|
||||
|
@ -40,8 +40,8 @@ promise_test((test) => {
|
|||
|
||||
promise_test((test) => {
|
||||
const remoteURL = httpsBaseURL + "resources/hello.py?corp=same-site";
|
||||
return fetch(remoteURL, { mode: "no-cors" });
|
||||
}, "Cross-origin no-cors fetch to a same-site URL with a 'Cross-Origin-Resource-Policy: same-site' response header.");
|
||||
return promise_rejects(test, new TypeError, fetch(remoteURL, { mode: "no-cors" }));
|
||||
}, "Cross-scheme (HTTP to HTTPS) no-cors fetch to a same-site URL with a 'Cross-Origin-Resource-Policy: same-site' response header.");
|
||||
|
||||
promise_test((test) => {
|
||||
const remoteURL = httpsBaseURL + "resources/hello.py?corp=same-origin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue