Update web-platform-tests to revision 03fff324c7345277c2a581564bd972f2b5c9f74a

This commit is contained in:
WPT Sync Bot 2019-06-07 10:26:10 +00:00
parent 525d515a89
commit c6f0951dbc
61 changed files with 1291 additions and 261 deletions

View file

@ -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>