mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 3678c44dfe811f93a796285e9531ee34d7d15682
This commit is contained in:
parent
6fbf2c1e3c
commit
b3ccbe1a35
27 changed files with 808 additions and 100 deletions
|
@ -40,7 +40,7 @@ assert_worker_throws('indexedDB is inaccessible', 'self.indexedDB.open("someDBNa
|
|||
assert_worker_sends_pass('cross-origin worker', '', 'fetch("/").then(() => port.postMessage("FAIL"), () => port.postMessage("PASS"))');
|
||||
|
||||
// 'data:' workers have opaque origin
|
||||
assert_worker_sends_pass('worker has opaque origin', 'application/javascript', 'if (self.location.origin == "null") port.postMessage("PASS"); else { port.postMessage("FAIL"); }');
|
||||
assert_worker_sends_pass('worker has opaque origin', 'application/javascript', 'port.postMessage(self.location.origin == "null" ? "PASS" : "FAIL")');
|
||||
|
||||
function openWindow(url) {
|
||||
return new Promise(resolve => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue