diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt')
-rw-r--r-- | LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt b/LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt index 9d04b0a..5f85c81 100644 --- a/LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt +++ b/LayoutTests/storage/indexeddb/transaction-event-propagation-expected.txt @@ -3,20 +3,10 @@ Test event propogation on IDBTransaction. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -webkitIndexedDB.open('name') -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 +webkitIndexedDB.open('transaction-event-propagation') +db = event.target.result db.setVersion('new version') -PASS 'onsuccess' in result is true -PASS 'onerror' in result is true -PASS 'readyState' in result is true -An event should fire shortly... - -trans = event.result +trans = event.target.result PASS trans !== null is true trans.oncomplete = startTest Deleted all object stores. @@ -37,16 +27,22 @@ In IDBDatabase abort capture PASS dbCaptureFired is false PASS abortFired is false PASS dbBubbleFired1 is false +PASS event.target is trans +PASS event.currentTarget is db In abort handler PASS dbCaptureFired is true PASS abortFired is false PASS dbBubbleFired1 is false +PASS event.target is trans +PASS event.currentTarget is trans In IDBDatabase error bubble PASS dbCaptureFired is true PASS abortFired is true PASS dbBubbleFired1 is false +PASS event.target is trans +PASS event.currentTarget is db Verifing success. trans = db.transaction([], webkitIDBTransaction.READ_WRITE) @@ -67,11 +63,15 @@ In IDBDatabase complete capture PASS dbCaptureFired is false PASS completeFired is false PASS dbBubbleFired2 is false +PASS event.target is trans +PASS event.currentTarget is db In IDBRequest handler PASS dbCaptureFired is true PASS completeFired is false PASS dbBubbleFired2 is false +PASS event.target is trans +PASS event.currentTarget is trans PASS successfullyParsed is true |