mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 345300fad3945a5f1441fb2b2001109ca48f36e8
This commit is contained in:
parent
71ba247942
commit
05db47be0f
109 changed files with 2576 additions and 1228 deletions
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
importScripts('/resources/testharness.js');
|
||||
|
||||
let workerType;
|
||||
|
||||
if (typeof postMessage === 'function') {
|
||||
workerType = 'dedicated';
|
||||
}
|
||||
|
||||
promise_test(() => navigator.serial.getPorts(),
|
||||
`Inherited header feature policy allows ${workerType} workers.`);
|
||||
|
||||
done();
|
Loading…
Add table
Add a link
Reference in a new issue