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

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

Issue 2517813002: Enable V8BasedStructuredClone by default. (Closed)
Patch Set: . Created 4 years, 1 month 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] dbname = "objectstore-basics.js" 7 [Worker] dbname = "objectstore-basics.js"
8 [Worker] indexedDB.deleteDatabase(dbname) 8 [Worker] indexedDB.deleteDatabase(dbname)
9 [Worker] indexedDB.open(dbname) 9 [Worker] indexedDB.open(dbname)
10 [Worker] 10 [Worker]
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 [Worker] addData(): 89 [Worker] addData():
90 [Worker] db = event.target.result 90 [Worker] db = event.target.result
91 [Worker] transaction = db.transaction(['storeName'], 'readwrite') 91 [Worker] transaction = db.transaction(['storeName'], 'readwrite')
92 [Worker] store = transaction.objectStore('storeName') 92 [Worker] store = transaction.objectStore('storeName')
93 [Worker] Try to insert data with a Date key: 93 [Worker] Try to insert data with a Date key:
94 [Worker] store.add({x: 'foo'}, testDate) 94 [Worker] store.add({x: 'foo'}, testDate)
95 [Worker] Try to insert a value not handled by structured clone: 95 [Worker] Try to insert a value not handled by structured clone:
96 [Worker] Expecting exception from store.add({x: 'bar', y: self}, 'bar') 96 [Worker] Expecting exception from store.add({x: 'bar', y: self}, 'bar')
97 PASS [Worker] Exception was thrown. 97 PASS [Worker] Exception was thrown.
98 PASS [Worker] code is DOMException.DATA_CLONE_ERR 98 PASS [Worker] code is DOMException.DATA_CLONE_ERR
99 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': An obje ct could not be cloned. 99 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': #<Dedic atedWorkerGlobalScope> could not be cloned.
100 [Worker] Try to insert data where key path yields a Date key: 100 [Worker] Try to insert data where key path yields a Date key:
101 [Worker] store.add({x: testDateB, y: 'value'}, 'key') 101 [Worker] store.add({x: testDateB, y: 'value'}, 'key')
102 [Worker] addSuccess(): 102 [Worker] addSuccess():
103 PASS [Worker] event.target.result is "key" 103 PASS [Worker] event.target.result is "key"
104 [Worker] event.target.source.add({x: 'foo'}, 'zzz') 104 [Worker] event.target.source.add({x: 'foo'}, 'zzz')
105 [Worker] addAgainFailure(): 105 [Worker] addAgainFailure():
106 PASS [Worker] event.target.error.name is 'ConstraintError' 106 PASS [Worker] event.target.error.name is 'ConstraintError'
107 [Worker] event.preventDefault() 107 [Worker] event.preventDefault()
108 [Worker] db.transaction(['storeName'], 'readwrite') 108 [Worker] db.transaction(['storeName'], 'readwrite')
109 [Worker] store = transaction.objectStore('storeName') 109 [Worker] store = transaction.objectStore('storeName')
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 [Worker] The key parameter was provided but does not contain a valid key. 227 [Worker] The key parameter was provided but does not contain a valid key.
228 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null) 228 [Worker] Expecting exception from storeWithOutOfLineKeys.add({}, null)
229 PASS [Worker] Exception was thrown. 229 PASS [Worker] Exception was thrown.
230 PASS [Worker] code is 0 230 PASS [Worker] code is 0
231 PASS [Worker] ename is 'DataError' 231 PASS [Worker] ename is 'DataError'
232 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par ameter is not a valid key. 232 [Worker] Exception message: Failed to execute 'add' on 'IDBObjectStore': The par ameter is not a valid key.
233 PASS successfullyParsed is true 233 PASS successfullyParsed is true
234 234
235 TEST COMPLETE 235 TEST COMPLETE
236 236
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698