Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / indexeddb / resources / keyrange-required-arguments.js
blobf7cf6553d514b1eb08e1e99fb8e43870d5dc6146
1 if (this.importScripts) {
2     importScripts('../../../resources/js-test.js');
3     importScripts('shared.js');
6 description("Test IndexedDB keyrange required arguments");
8 function test()
10     shouldThrow("IDBKeyRange.only();");
11     shouldThrow("IDBKeyRange.lowerBound();");
12     shouldThrow("IDBKeyRange.upperBound();");
13     shouldThrow("IDBKeyRange.bound(1);");
14     shouldThrow("IDBKeyRange.bound();");
16     finishJSTest();
19 test();