diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html b/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html index c4418bc..5f617ca 100644 --- a/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html +++ b/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html @@ -10,13 +10,13 @@ <div id="console"></div> <script> -description("Test IndexedDB's webkitIDBObjectStore.removeObjectStore()."); +description("Test IndexedDB's webkitIDBObjectStore.deleteObjectStore()."); if (window.layoutTestController) layoutTestController.waitUntilDone(); function test() { - result = evalAndLog("webkitIndexedDB.open('name', 'description')"); + result = evalAndLog("webkitIndexedDB.open('name')"); verifyResult(result); result.onsuccess = startSetVersion; result.onerror = unexpectedErrorCallback; @@ -76,18 +76,18 @@ function addIndex() result = evalAndLog("db.setVersion('new version')"); verifyResult(result); - result.onsuccess = removeObjectStore; + result.onsuccess = deleteObjectStore; result.onerror = unexpectedErrorCallback; } -function removeObjectStore() +function deleteObjectStore() { verifySuccessEvent(event); window.trans = evalAndLog("trans = event.result"); shouldBeTrue("trans !== null"); trans.onabort = unexpectedAbortCallback; - evalAndLog("db.removeObjectStore('storeName')"); + evalAndLog("db.deleteObjectStore('storeName')"); createObjectStoreAgain(); } |