summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/create-object-store-options-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/create-object-store-options-expected.txt')
-rw-r--r--LayoutTests/storage/indexeddb/create-object-store-options-expected.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/LayoutTests/storage/indexeddb/create-object-store-options-expected.txt b/LayoutTests/storage/indexeddb/create-object-store-options-expected.txt
index 5519508..5f0e94d 100644
--- a/LayoutTests/storage/indexeddb/create-object-store-options-expected.txt
+++ b/LayoutTests/storage/indexeddb/create-object-store-options-expected.txt
@@ -5,14 +5,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS 'webkitIndexedDB' in window is true
PASS webkitIndexedDB == null is false
-webkitIndexedDB.open('name', 'description')
-PASS 'onsuccess' in result is true
-PASS 'onerror' in result is true
-PASS 'readyState' in result is true
-An event should fire shortly...
-
-db = event.result
-result = db.setVersion('version 1')
+webkitIndexedDB.open('create-object-store-options', 'description')
+db = event.target.result
+request = db.setVersion('version 1')
Deleted all object stores.
db.createObjectStore('a', {keyPath: 'a'})
db.createObjectStore('b')
@@ -22,9 +17,9 @@ PASS trans.mode is webkitIDBTransaction.READ_WRITE
trans.objectStore('a').put({'a': 0})
trans.objectStore('b').put({'a': 0}, 0)
trans.objectStore('a').get(0)
-PASS event.result.a is {a: 0}
+PASS event.target.result.a is {a: 0}
trans.objectStore('b').get(0)
-PASS event.result.a is {a: 0}
+PASS event.target.result.a is {a: 0}
PASS successfullyParsed is true
TEST COMPLETE