https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a83b10d270d708e1c585bc9702b549d92f220e3b authored by Eden Chuang on 28 November 2018, 05:34:04 UTC
Part 4 - mochitest for PaymentMethodChangeEvent.
Tip revision: a83b10d
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