mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Update web-platform-tests to revision 2b80e6d28f3c1ca734384ebded282bf07df80657
This commit is contained in:
parent
32eb858a6a
commit
aff72973cf
379 changed files with 13969 additions and 2161 deletions
|
@ -0,0 +1,23 @@
|
|||
// META: global=window,worker
|
||||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
'use strict';
|
||||
|
||||
const idl = `
|
||||
[OverrideBuiltins]
|
||||
partial interface Document {
|
||||
Promise<bool> hasStorageAccess();
|
||||
Promise<void> requestStorageAccess();
|
||||
};`;
|
||||
|
||||
idl_test(
|
||||
// Since we are testing a locally defined idl we'll manually manage our deps below.
|
||||
[],
|
||||
[],
|
||||
idl_array => {
|
||||
return fetch_spec('dom').then(function(idl_text) {
|
||||
idl_array.add_idls(idl);
|
||||
idl_array.add_dependency_idls(idl_text);
|
||||
});
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue