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

Side by Side Diff: LayoutTests/storage/indexeddb/objectstore-basics-workers-expected.txt

Issue 114363002: Structured cloning: improve DataCloneError reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + reset V8TestInterfaceConstructor.cpp result Created 7 years 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
OLDNEW
1 [Worker] Test the basics of IndexedDB's IDBObjectStore. 1 [Worker] Test the basics of IndexedDB's IDBObjectStore.
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 Starting worker: resources/objectstore-basics.js 6 Starting worker: resources/objectstore-basics.js
7 [Worker] indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB; 7 [Worker] indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
8 [Worker] 8 [Worker]
9 [Worker] dbname = "objectstore-basics.js" 9 [Worker] dbname = "objectstore-basics.js"
10 [Worker] indexedDB.deleteDatabase(dbname) 10 [Worker] indexedDB.deleteDatabase(dbname)
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 [Worker] addData(): 91 [Worker] addData():
92 [Worker] db = event.target.result 92 [Worker] db = event.target.result
93 [Worker] transaction = db.transaction(['storeName'], 'readwrite') 93 [Worker] transaction = db.transaction(['storeName'], 'readwrite')
94 [Worker] store = transaction.objectStore('storeName') 94 [Worker] store = transaction.objectStore('storeName')
95 [Worker] Try to insert data with a Date key: 95 [Worker] Try to insert data with a Date key:
96 [Worker] store.add({x: 'foo'}, testDate) 96 [Worker] store.add({x: 'foo'}, testDate)
97 [Worker] Try to insert a value not handled by structured clone: 97 [Worker] Try to insert a value not handled by structured clone:
98 [Worker] Expecting exception from store.add({x: 'bar', y: self}, 'bar') 98 [Worker] Expecting exception from store.add({x: 'bar', y: self}, 'bar')
99 PASS [Worker] Exception was thrown. 99 PASS [Worker] Exception was thrown.
100 PASS [Worker] code is DOMException.DATA_CLONE_ERR 100 PASS [Worker] code is DOMException.DATA_CLONE_ERR
101 [Worker] Exception message: An object could not be cloned. 101 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': An obje ct could not be cloned.
102 [Worker] Try to insert data where key path yields a Date key: 102 [Worker] Try to insert data where key path yields a Date key:
103 [Worker] store.add({x: testDateB, y: 'value'}, 'key') 103 [Worker] store.add({x: testDateB, y: 'value'}, 'key')
104 [Worker] addSuccess(): 104 [Worker] addSuccess():
105 PASS [Worker] event.target.result is "key" 105 PASS [Worker] event.target.result is "key"
106 [Worker] event.target.source.add({x: 'foo'}, 'zzz') 106 [Worker] event.target.source.add({x: 'foo'}, 'zzz')
107 [Worker] addAgainFailure(): 107 [Worker] addAgainFailure():
108 PASS [Worker] event.target.error.name is 'ConstraintError' 108 PASS [Worker] event.target.error.name is 'ConstraintError'
109 [Worker] event.preventDefault() 109 [Worker] event.preventDefault()
110 [Worker] db.transaction(['storeName'], 'readwrite') 110 [Worker] db.transaction(['storeName'], 'readwrite')
111 [Worker] store = transaction.objectStore('storeName') 111 [Worker] store = transaction.objectStore('storeName')
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 [Worker] The key parameter was provided but does not contain a valid key. 229 [Worker] The key parameter was provided but does not contain a valid key.
230 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null) 230 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null)
231 PASS [Worker] Exception was thrown. 231 PASS [Worker] Exception was thrown.
232 PASS [Worker] code is 0 232 PASS [Worker] code is 0
233 PASS [Worker] ename is 'DataError' 233 PASS [Worker] ename is 'DataError'
234 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par ameter is not a valid key. 234 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par ameter is not a valid key.
235 PASS successfullyParsed is true 235 PASS successfullyParsed is true
236 236
237 TEST COMPLETE 237 TEST COMPLETE
238 238
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698