summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/indexeddb-persists.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/indexeddb-persists.html')
-rw-r--r--WebCore/manual-tests/indexeddb-persists.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/manual-tests/indexeddb-persists.html b/WebCore/manual-tests/indexeddb-persists.html
index 6f5e036..d8061e1 100644
--- a/WebCore/manual-tests/indexeddb-persists.html
+++ b/WebCore/manual-tests/indexeddb-persists.html
@@ -33,8 +33,8 @@ function setData()
webkitIndexedDB.open("someDB", "some description").onsuccess = function() {
event.result.setVersion("some version").onsuccess = function() {
var db = event.source;
- while (db.objectStores.length)
- db.removeObjectStore(db.objectStores[0]);
+ while (db.objectStoreNames.length)
+ db.removeObjectStore(db.objectStoreNames[0]);
db.createObjectStore("test").put("value", "key").onsuccess = function() {
status("Value set", "green");
}