mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 03fff324c7345277c2a581564bd972f2b5c9f74a
This commit is contained in:
parent
525d515a89
commit
c6f0951dbc
61 changed files with 1291 additions and 261 deletions
|
@ -46,9 +46,15 @@ var waitOnMessageFromSW = async t => {
|
|||
// worker destination
|
||||
/////////////////////
|
||||
promise_test(async t => {
|
||||
// We can use an html file as we don't really care about the worker successfully loading.
|
||||
// We can use an html file as we don't really care about the dedicated worker successfully loading.
|
||||
let worker = new frame.contentWindow.Worker("dummy.html?t=worker&dest=worker");
|
||||
await waitOnMessageFromSW(t);
|
||||
}, 'Worker fetches with a "worker" Request.destination');
|
||||
}, 'DedicatedWorker fetches with a "worker" Request.destination');
|
||||
|
||||
promise_test(async t => {
|
||||
// We can use an html file as we don't really care about the shared worker successfully loading.
|
||||
let worker = new frame.contentWindow.SharedWorker("dummy.html?t=sharedworker&dest=sharedworker");
|
||||
await waitOnMessageFromSW(t);
|
||||
}, 'SharedWorker fetches with a "sharedworker" Request.destination');
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue