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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-update-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 cursor update. 1 Test IndexedDB's cursor update.
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-update.html" 6 dbname = "cursor-update.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 Deleted all object stores. 12 Deleted all object stores.
15 objectStore = db.createObjectStore('basicStore') 13 objectStore = db.createObjectStore('basicStore')
16 objectStore.add('myValue1', 'myKey1').onerror = unexpectedErrorCallback 14 objectStore.add('myValue1', 'myKey1').onerror = unexpectedErrorCallback
17 objectStore.add('myValue2', 'myKey2').onerror = unexpectedErrorCallback 15 objectStore.add('myValue2', 'myKey2').onerror = unexpectedErrorCallback
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 PASS code is 0 230 PASS code is 0
233 PASS ename is 'ReadOnlyError' 231 PASS ename is 'ReadOnlyError'
234 Exception message: Failed to execute 'update' on 'IDBCursor': The record may not be updated inside a read-only transaction. 232 Exception message: Failed to execute 'update' on 'IDBCursor': The record may not be updated inside a read-only transaction.
235 cursor.continue() 233 cursor.continue()
236 attemptUpdate() 234 attemptUpdate()
237 transactionComplete() 235 transactionComplete()
238 PASS successfullyParsed is true 236 PASS successfullyParsed is true
239 237
240 TEST COMPLETE 238 TEST COMPLETE
241 239
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698