mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision e6695b77fc9bb1e5c71ce474c4e7f8784713c754
This commit is contained in:
parent
0a00ea3db3
commit
f67126ace0
37 changed files with 238 additions and 95 deletions
|
@ -0,0 +1,19 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
// META: timeout=long
|
||||
|
||||
// https://w3c.github.io/device-memory/
|
||||
|
||||
"use strict";
|
||||
|
||||
idl_test(
|
||||
['device-memory'],
|
||||
['html'],
|
||||
async idl_array => {
|
||||
if (self.GLOBAL.isWorker()) {
|
||||
idl_array.add_objects({ WorkerNavigator: ['navigator'] });
|
||||
} else {
|
||||
idl_array.add_objects({ Navigator: ['navigator'] });
|
||||
}
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue