Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-inconsistency-expected.txt

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test consistency of IndexedDB's cursor objects. 1 Test consistency of IndexedDB's cursor objects.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7
8 dbname = "cursor-inconsistency.html" 6 dbname = "cursor-inconsistency.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 setVersionSuccess(): 9 setVersionSuccess():
12 trans = event.target.transaction 10 trans = event.target.transaction
13 PASS trans is non-null. 11 PASS trans is non-null.
14 objectStore = db.createObjectStore('basicStore') 12 objectStore = db.createObjectStore('basicStore')
15 objectStore.add('someValue1', 'someKey1').onerror = unexpectedErrorCallback 13 objectStore.add('someValue1', 'someKey1').onerror = unexpectedErrorCallback
16 objectStore.add('someValue2', 'someKey2').onerror = unexpectedErrorCallback 14 objectStore.add('someValue2', 'someKey2').onerror = unexpectedErrorCallback
17 objectStore.add('someValue3', 'someKey3').onerror = unexpectedErrorCallback 15 objectStore.add('someValue3', 'someKey3').onerror = unexpectedErrorCallback
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 PASS event.target.result.value is "someValue4" 52 PASS event.target.result.value is "someValue4"
55 event.target.result.continue() 53 event.target.result.continue()
56 54
57 checkCursor() 55 checkCursor()
58 PASS counter is 5 56 PASS counter is 5
59 transactionComplete() 57 transactionComplete()
60 PASS successfullyParsed is true 58 PASS successfullyParsed is true
61 59
62 TEST COMPLETE 60 TEST COMPLETE
63 61
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698