Update web-platform-tests to revision e6695b77fc9bb1e5c71ce474c4e7f8784713c754

This commit is contained in:
WPT Sync Bot 2020-05-17 08:20:52 +00:00
parent 0a00ea3db3
commit f67126ace0
37 changed files with 238 additions and 95 deletions

View file

@ -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'] });
}
}
);