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

Side by Side Diff: LayoutTests/storage/indexeddb/request-result-cache-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 Verify that a request's result is dirtied when a cursor is continued 1 Verify that a request's result is dirtied when a cursor is continued
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 = "request-result-cache.html" 6 dbname = "request-result-cache.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 9
12 prepareDatabase(): 10 prepareDatabase():
13 db = event.target.result 11 db = event.target.result
14 store = db.createObjectStore('store') 12 store = db.createObjectStore('store')
15 13
16 onOpen(): 14 onOpen():
17 db = event.target.result 15 db = event.target.result
18 tx = db.transaction('store') 16 tx = db.transaction('store')
19 store = tx.objectStore('store') 17 store = tx.objectStore('store')
20 cursorRequest = store.openCursor() 18 cursorRequest = store.openCursor()
21 19
22 cursorRequestSuccess(): 20 cursorRequestSuccess():
23 cursor = cursorRequest.result 21 cursor = cursorRequest.result
24 cursor.continue() 22 cursor.continue()
25 Expecting exception from cursorRequest.result 23 Expecting exception from cursorRequest.result
26 PASS Exception was thrown. 24 PASS Exception was thrown.
27 PASS code is DOMException.INVALID_STATE_ERR 25 PASS code is DOMException.INVALID_STATE_ERR
28 PASS ename is 'InvalidStateError' 26 PASS ename is 'InvalidStateError'
29 Exception message: Failed to read the 'result' property from 'IDBRequest': The r equest has not finished. 27 Exception message: Failed to read the 'result' property from 'IDBRequest': The r equest has not finished.
30 28
31 cursorRequestSuccess(): 29 cursorRequestSuccess():
32 PASS successfullyParsed is true 30 PASS successfullyParsed is true
33 31
34 TEST COMPLETE 32 TEST COMPLETE
35 33
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/request-leak-expected.txt ('k') | LayoutTests/storage/indexeddb/resources/basics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698