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

Side by Side Diff: LayoutTests/storage/indexeddb/transaction-and-objectstore-calls-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 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 transaction and objectStore calls 1 Test IndexedDB's transaction and objectStore calls
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "transaction-and-objectstore-calls.html" 8 dbname = "transaction-and-objectstore-calls.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 PASS Exception was thrown. 76 PASS Exception was thrown.
77 PASS code is DOMException.NOT_FOUND_ERR 77 PASS code is DOMException.NOT_FOUND_ERR
78 PASS ename is 'NotFoundError' 78 PASS ename is 'NotFoundError'
79 Exception message: The specified object store was not found. 79 Exception message: The specified object store was not found.
80 Expecting exception from trans.objectStore('x') 80 Expecting exception from trans.objectStore('x')
81 PASS Exception was thrown. 81 PASS Exception was thrown.
82 PASS code is DOMException.NOT_FOUND_ERR 82 PASS code is DOMException.NOT_FOUND_ERR
83 PASS ename is 'NotFoundError' 83 PASS ename is 'NotFoundError'
84 Exception message: The specified object store was not found. 84 Exception message: The specified object store was not found.
85 85
86 PASS trans = db.transaction() threw exception TypeError: Not enough arguments. 86 PASS trans = db.transaction() threw exception TypeError: Failed to execute 'tran saction' on 'IDBDatabase': 1 argument required, but only 0 present..
87 87
88 Expecting exception from db.transaction(['x']) 88 Expecting exception from db.transaction(['x'])
89 PASS Exception was thrown. 89 PASS Exception was thrown.
90 PASS code is DOMException.NOT_FOUND_ERR 90 PASS code is DOMException.NOT_FOUND_ERR
91 PASS ename is 'NotFoundError' 91 PASS ename is 'NotFoundError'
92 Exception message: One of the specified object stores was not found. 92 Exception message: One of the specified object stores was not found.
93 Expecting exception from db.transaction(['x']) 93 Expecting exception from db.transaction(['x'])
94 PASS Exception was thrown. 94 PASS Exception was thrown.
95 PASS code is DOMException.NOT_FOUND_ERR 95 PASS code is DOMException.NOT_FOUND_ERR
96 PASS ename is 'NotFoundError' 96 PASS ename is 'NotFoundError'
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 Exception message: The transaction has finished. 159 Exception message: The transaction has finished.
160 Expecting exception from store.index('index') 160 Expecting exception from store.index('index')
161 PASS Exception was thrown. 161 PASS Exception was thrown.
162 PASS code is DOMException.INVALID_STATE_ERR 162 PASS code is DOMException.INVALID_STATE_ERR
163 PASS ename is 'InvalidStateError' 163 PASS ename is 'InvalidStateError'
164 Exception message: The transaction has finished. 164 Exception message: The transaction has finished.
165 PASS successfullyParsed is true 165 PASS successfullyParsed is true
166 166
167 TEST COMPLETE 167 TEST COMPLETE
168 168
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698