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

Side by Side Diff: LayoutTests/storage/indexeddb/get-keyrange-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 IndexedDB's IDBObjectStore.get(IDBKeyRange) method. 1 Test IndexedDB's IDBObjectStore.get(IDBKeyRange) method.
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 = "get-keyrange.html" 6 dbname = "get-keyrange.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('someObjectStore') 9 db.createObjectStore('someObjectStore')
12 objectStore.createIndex('someIndex', 'x') 10 objectStore.createIndex('someIndex', 'x')
13 objectStore.add({'x': 0 }, 0) 11 objectStore.add({'x': 0 }, 0)
14 objectStore.add({'x': 1 }, 1) 12 objectStore.add({'x': 1 }, 1)
15 objectStore.add({'x': 2 }, 2) 13 objectStore.add({'x': 2 }, 2)
16 objectStore.add({'x': 3 }, 3) 14 objectStore.add({'x': 3 }, 3)
17 objectStore.add({'x': 4 }, 4) 15 objectStore.add({'x': 4 }, 4)
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 Expecting exception from index.getKey(null) 82 Expecting exception from index.getKey(null)
85 PASS Exception was thrown. 83 PASS Exception was thrown.
86 PASS code is 0 84 PASS code is 0
87 PASS ename is 'DataError' 85 PASS ename is 'DataError'
88 Exception message: Failed to execute 'getKey' on 'IDBIndex': No key or key range specified. 86 Exception message: Failed to execute 'getKey' on 'IDBIndex': No key or key range specified.
89 finishJSTest() 87 finishJSTest()
90 PASS successfullyParsed is true 88 PASS successfullyParsed is true
91 89
92 TEST COMPLETE 90 TEST COMPLETE
93 91
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698