mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
This commit is contained in:
parent
c80fa33864
commit
7e8624d921
57 changed files with 5290 additions and 266 deletions
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
function worker_test(file) {
|
||||
fetch_tests_from_worker(new Worker(file));
|
||||
if (typeof SharedWorker === 'function') {
|
||||
fetch_tests_from_worker(new SharedWorker(file));
|
||||
} else {
|
||||
test(() => {
|
||||
assert_unreached('SharedWorker is unavailable');
|
||||
}, 'Load ' + file + ' with SharedWorker');
|
||||
}
|
||||
service_worker_test(file);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue