blob: 66d33f293fdd2350dff86428db398fa1ea23082b [file] [log] [blame]
if (this.importScripts) {
importScripts('../../../resources/js-test.js');
importScripts('shared.js');
}
description("Test IndexedDB keyrange required arguments");
function test()
{
removeVendorPrefixes();
shouldThrow("IDBKeyRange.only();");
shouldThrow("IDBKeyRange.lowerBound();");
shouldThrow("IDBKeyRange.upperBound();");
shouldThrow("IDBKeyRange.bound(1);");
shouldThrow("IDBKeyRange.bound();");
finishJSTest();
}
test();