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

Side by Side Diff: LayoutTests/storage/indexeddb/aborted-versionchange-closes-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
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/basics-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test that an aborted 'versionchange' transaction closes the connection. 1 Test that an aborted 'versionchange' transaction closes the connection.
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 = "aborted-versionchange-closes.html" 6 dbname = "aborted-versionchange-closes.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname, 1) 8 indexedDB.open(dbname, 1)
11 9
12 prepareDatabase(): 10 prepareDatabase():
13 db = event.target.result 11 db = event.target.result
14 db.createObjectStore('store') 12 db.createObjectStore('store')
15 13
16 onOpen(): 14 onOpen():
17 db = event.target.result 15 db = event.target.result
(...skipping 21 matching lines...) Expand all
39 creating a transaction should fail because connection is closed: 37 creating a transaction should fail because connection is closed:
40 Expecting exception from db.transaction('store') 38 Expecting exception from db.transaction('store')
41 PASS Exception was thrown. 39 PASS Exception was thrown.
42 PASS code is DOMException.INVALID_STATE_ERR 40 PASS code is DOMException.INVALID_STATE_ERR
43 PASS ename is 'InvalidStateError' 41 PASS ename is 'InvalidStateError'
44 Exception message: Failed to execute 'transaction' on 'IDBDatabase': The databas e connection is closing. 42 Exception message: Failed to execute 'transaction' on 'IDBDatabase': The databas e connection is closing.
45 PASS successfullyParsed is true 43 PASS successfullyParsed is true
46 44
47 TEST COMPLETE 45 TEST COMPLETE
48 46
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698