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

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

Issue 131973012: Add overload support for non-wrapper type vs. primitive type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline IDB tests Created 6 years, 11 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 [Worker] Test the basics of IndexedDB's webkitIDBIndex. 1 [Worker] Test the basics of IndexedDB's webkitIDBIndex.
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/index-basics.js 6 Starting worker: resources/index-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 = "index-basics.js" 9 [Worker] dbname = "index-basics.js"
10 [Worker] indexedDB.deleteDatabase(dbname) 10 [Worker] indexedDB.deleteDatabase(dbname)
11 [Worker] indexedDB.open(dbname) 11 [Worker] indexedDB.open(dbname)
12 [Worker] 12 [Worker]
13 [Worker] prepareDatabase(): 13 [Worker] prepareDatabase():
14 [Worker] db.createObjectStore('storeName', null) 14 [Worker] db.createObjectStore('storeName', null)
15 [Worker] store.createIndex('indexName', 'x') 15 [Worker] store.createIndex('indexName', 'x')
16 [Worker] store.createIndex('indexName2', 'y', {unique: false}) 16 [Worker] store.createIndex('indexName2', 'y', {unique: false})
17 [Worker] store.createIndex('zIndex', 'z', {unique: true}) 17 [Worker] store.createIndex('zIndex', 'z', {unique: true})
18 PASS [Worker] indexObject2.unique is false 18 PASS [Worker] indexObject2.unique is false
19 PASS [Worker] indexObject3.unique is true 19 PASS [Worker] indexObject3.unique is true
20 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z zz', true) 20 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z zz', true)
21 PASS [Worker] Exception was thrown. 21 PASS [Worker] Exception was thrown.
22 PASS [Worker] store.createIndex('failureIndex', 'zzz', true) threw TypeError: Fa iled to execute 'createIndex' on 'IDBObjectStore': parameter 3 ('options') is no t an object. 22 PASS [Worker] store.createIndex('failureIndex', 'zzz', true) threw TypeError: Fa iled to execute 'createIndex' on 'IDBObjectStore': No function was found that ma tched the signature provided.
23 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z zz', 'string') 23 [Worker] Expecting TypeError exception from store.createIndex('failureIndex', 'z zz', 'string')
24 PASS [Worker] Exception was thrown. 24 PASS [Worker] Exception was thrown.
25 PASS [Worker] store.createIndex('failureIndex', 'zzz', 'string') threw TypeError : Failed to execute 'createIndex' on 'IDBObjectStore': parameter 3 ('options') i s not an object. 25 PASS [Worker] store.createIndex('failureIndex', 'zzz', 'string') threw TypeError : Failed to execute 'createIndex' on 'IDBObjectStore': No function was found tha t matched the signature provided.
26 PASS [Worker] 'name' in indexObject is true 26 PASS [Worker] 'name' in indexObject is true
27 PASS [Worker] indexObject.name is "indexName" 27 PASS [Worker] indexObject.name is "indexName"
28 PASS [Worker] 'objectStore' in indexObject is true 28 PASS [Worker] 'objectStore' in indexObject is true
29 PASS [Worker] indexObject.objectStore.name is "storeName" 29 PASS [Worker] indexObject.objectStore.name is "storeName"
30 PASS [Worker] 'keyPath' in indexObject is true 30 PASS [Worker] 'keyPath' in indexObject is true
31 PASS [Worker] indexObject.keyPath is "x" 31 PASS [Worker] indexObject.keyPath is "x"
32 PASS [Worker] 'unique' in indexObject is true 32 PASS [Worker] 'unique' in indexObject is true
33 PASS [Worker] 'multiEntry' in indexObject is true 33 PASS [Worker] 'multiEntry' in indexObject is true
34 PASS [Worker] indexObject.unique is false 34 PASS [Worker] indexObject.unique is false
35 PASS [Worker] indexObject.multiEntry is false 35 PASS [Worker] indexObject.multiEntry is false
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 [Worker] Passing an invalid key into indexObject.getKey({}). 135 [Worker] Passing an invalid key into indexObject.getKey({}).
136 [Worker] Expecting exception from indexObject.getKey({}) 136 [Worker] Expecting exception from indexObject.getKey({})
137 PASS [Worker] Exception was thrown. 137 PASS [Worker] Exception was thrown.
138 PASS [Worker] code is 0 138 PASS [Worker] code is 0
139 PASS [Worker] ename is 'DataError' 139 PASS [Worker] ename is 'DataError'
140 [Worker] Exception message: Failed to execute 'getKey' on 'IDBIndex': The parame ter is not a valid key. 140 [Worker] Exception message: Failed to execute 'getKey' on 'IDBIndex': The parame ter is not a valid key.
141 PASS successfullyParsed is true 141 PASS successfullyParsed is true
142 142
143 TEST COMPLETE 143 TEST COMPLETE
144 144
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/index-basics-expected.txt ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698