haikuwebkit/LayoutTests/storage/indexeddb/resources/deleteObjectStore-null-name.js

17 lines
391 B
JavaScript

if (this.importScripts) {
importScripts('../../../resources/js-test.js');
importScripts('shared.js');
}
description("Test IndexedDB deleteObjectStore required argument");
indexedDBTest(prepareDatabase);
function prepareDatabase()
{
db = event.target.result;
evalAndLog("db.createObjectStore('null');");
evalAndLog("db.deleteObjectStore(null);");
finishJSTest();
}