https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 5423d8eda208d09132bddd79710ef3e716746218 authored by Mike Pennisi on 12 September 2018, 23:30:20 UTC
Demonstrate on downstream fork
Tip revision: 5423d8e
idlharness.any.js
// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

idl_test(
  ['IndexedDB'],
  ['html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      IDBCursor: [],
      IDBCursorWithValue: [],
      IDBDatabase: [],
      IDBFactory: [self.indexedDB],
      IDBIndex: [],
      IDBKeyRange: [IDBKeyRange.only(0)],
      IDBObjectStore: [],
      IDBOpenDBRequest: [],
      IDBRequest: [],
      IDBTransaction: [],
      IDBVersionChangeEvent: ['new IDBVersionChangeEvent("type")'],
      DOMStringList: [],
    });
  }
);
back to top