chromium/third_party/blink/web_tests/storage/indexeddb/resources/keyrange-required-arguments.js

if (this.importScripts) {
    importScripts('../../../resources/js-test.js');
    importScripts('shared.js');
}

description("Test IndexedDB keyrange required arguments");

function test()
{
    shouldThrow("IDBKeyRange.only();");
    shouldThrow("IDBKeyRange.lowerBound();");
    shouldThrow("IDBKeyRange.upperBound();");
    shouldThrow("IDBKeyRange.bound(1);");
    shouldThrow("IDBKeyRange.bound();");

    finishJSTest();
}

test();