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

Side by Side Diff: LayoutTests/storage/indexeddb/object-lookups-in-versionchange-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. 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 Regression test for http://webkit.org/b/102547 1 Regression test for http://webkit.org/b/102547
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; 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7 7
8 dbname = "object-lookups-in-versionchange.html" 8 dbname = "object-lookups-in-versionchange.html"
9 indexedDB.deleteDatabase(dbname) 9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 10 indexedDB.open(dbname)
11 db = event.target.result 11 db = event.target.result
12 transaction = event.target.transaction 12 transaction = event.target.transaction
13 store = db.createObjectStore('store') 13 store = db.createObjectStore('store')
14 14
15 Expecting exception from transaction.objectStore('no-such-store') 15 Expecting exception from transaction.objectStore('no-such-store')
16 PASS Exception was thrown. 16 PASS Exception was thrown.
17 PASS code is DOMException.NOT_FOUND_ERR 17 PASS code is DOMException.NOT_FOUND_ERR
18 PASS ename is 'NotFoundError' 18 PASS ename is 'NotFoundError'
19 Exception message: The specified object store was not found. 19 Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The spec ified object store was not found.
20 20
21 Expecting exception from store.index('no-such-index') 21 Expecting exception from store.index('no-such-index')
22 PASS Exception was thrown. 22 PASS Exception was thrown.
23 PASS code is DOMException.NOT_FOUND_ERR 23 PASS code is DOMException.NOT_FOUND_ERR
24 PASS ename is 'NotFoundError' 24 PASS ename is 'NotFoundError'
25 Exception message: The specified index was not found. 25 Exception message: Failed to execute 'index' on 'IDBObjectStore': The specified index was not found.
26 PASS successfullyParsed is true 26 PASS successfullyParsed is true
27 27
28 TEST COMPLETE 28 TEST COMPLETE
29 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698