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

Side by Side Diff: LayoutTests/storage/indexeddb/exceptions-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 Test that expected exceptions are thrown per IndexedDB spec. 1 Test that expected exceptions are thrown per IndexedDB spec.
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;
7
8 dbname = "exceptions.html" 6 dbname = "exceptions.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 store = db.createObjectStore('store') 9 store = db.createObjectStore('store')
12 index = store.createIndex('index', 'id') 10 index = store.createIndex('index', 'id')
13 store.put({id: 'a'}, 1) 11 store.put({id: 'a'}, 1)
14 store.put({id: 'b'}, 2) 12 store.put({id: 'b'}, 2)
15 store.put({id: 'c'}, 3) 13 store.put({id: 'c'}, 3)
16 store.put({id: 'd'}, 4) 14 store.put({id: 'd'}, 4)
17 store.put({id: 'e'}, 5) 15 store.put({id: 'e'}, 5)
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 If the requested object store is not in this transaction's scope. 620 If the requested object store is not in this transaction's scope.
623 Expecting exception from db.transaction('store').objectStore('otherStore') 621 Expecting exception from db.transaction('store').objectStore('otherStore')
624 PASS Exception was thrown. 622 PASS Exception was thrown.
625 PASS code is DOMException.NOT_FOUND_ERR 623 PASS code is DOMException.NOT_FOUND_ERR
626 PASS ename is 'NotFoundError' 624 PASS ename is 'NotFoundError'
627 Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The spec ified object store was not found. 625 Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The spec ified object store was not found.
628 PASS successfullyParsed is true 626 PASS successfullyParsed is true
629 627
630 TEST COMPLETE 628 TEST COMPLETE
631 629
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698