Update web-platform-tests to revision 3a8328470d53c4501e31cec2775c4d33821c2275

This commit is contained in:
WPT Sync Bot 2018-03-20 21:09:12 -04:00
parent f92f0809f8
commit 40c0b971f1
32 changed files with 530 additions and 238 deletions

View file

@ -0,0 +1,32 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
promise_test(async t => {
const [html, dom, indexeddb] = await Promise.all([
'/interfaces/html.idl',
'/interfaces/dom.idl',
'/interfaces/IndexedDB.idl',
].map(url => fetch(url).then(response => response.text())));
const idl_array = new IdlArray();
idl_array.add_untested_idls('interface LinkStyle {};'); // Needed by html
idl_array.add_untested_idls(html);
idl_array.add_untested_idls(dom);
idl_array.add_idls(indexeddb);
idl_array.add_objects({
IDBCursor: [],
IDBCursorWithValue: [],
IDBDatabase: [],
IDBFactory: [self.indexedDB],
IDBIndex: [],
IDBKeyRange: [IDBKeyRange.only(0)],
IDBObjectStore: [],
IDBOpenDBRequest: [],
IDBRequest: [],
IDBTransaction: [],
IDBVersionChangeEvent: [new IDBVersionChangeEvent('')],
DOMStringList: [],
});
idl_array.test();
}, 'Test driver');