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

Side by Side Diff: LayoutTests/storage/indexeddb/transaction-error-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 CONSOLE ERROR: line 82: Uncaught Error: This should *NOT* be caught! 1 CONSOLE ERROR: line 82: Uncaught Error: This should *NOT* be caught!
2 Test IDBTransaction.error cases. 2 Test IDBTransaction.error cases.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
8
9 dbname = "transaction-error.html" 7 dbname = "transaction-error.html"
10 indexedDB.deleteDatabase(dbname) 8 indexedDB.deleteDatabase(dbname)
11 indexedDB.open(dbname) 9 indexedDB.open(dbname)
12 store = db.createObjectStore('storeName') 10 store = db.createObjectStore('storeName')
13 store.add('value', 'key') 11 store.add('value', 'key')
14 12
15 trans = db.transaction('storeName') 13 trans = db.transaction('storeName')
16 14
17 IDBTransaction.error should be null if transaction is not finished: 15 IDBTransaction.error should be null if transaction is not finished:
18 PASS trans.error is null 16 PASS trans.error is null
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PASS trans.error.name is 'ConstraintError' 62 PASS trans.error.name is 'ConstraintError'
65 trans.error.message = Unable to add key to index 'Also test utf8: 漢': at least o ne key does not satisfy the uniqueness requirements. 63 trans.error.message = Unable to add key to index 'Also test utf8: 漢': at least o ne key does not satisfy the uniqueness requirements.
66 PASS trans.error.message is non-null. 64 PASS trans.error.message is non-null.
67 Note: This fails because of http://wkb.ug/37327 65 Note: This fails because of http://wkb.ug/37327
68 PASS trans.error.message.indexOf(indexName) is not -1 66 PASS trans.error.message.indexOf(indexName) is not -1
69 67
70 PASS successfullyParsed is true 68 PASS successfullyParsed is true
71 69
72 TEST COMPLETE 70 TEST COMPLETE
73 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698