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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/readyState-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 IndexedDB readyState property during different operations 1 Test IndexedDB readyState property during different operations
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 = "readyState.html" 6 dbname = "readyState.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 PASS openRequest.readyState is 'done' 9 PASS openRequest.readyState is 'done'
12 objectStore = db.createObjectStore('foo'); 10 objectStore = db.createObjectStore('foo');
13 key = 10; 11 key = 10;
14 request = objectStore.add({}, key); 12 request = objectStore.add({}, key);
15 PASS request.readyState is 'pending' 13 PASS request.readyState is 'pending'
16 getRecord(): 14 getRecord():
17 PASS request.readyState is 'done' 15 PASS request.readyState is 'done'
18 PASS event.target.result is key 16 PASS event.target.result is key
19 request = objectStore.get(key); 17 request = objectStore.get(key);
20 PASS request.readyState is 'pending' 18 PASS request.readyState is 'pending'
21 finalCheck(): 19 finalCheck():
22 PASS request.readyState is 'done' 20 PASS request.readyState is 'done'
23 PASS event.target.result == null is false 21 PASS event.target.result == null is false
24 checkReadyStateInOpen(): 22 checkReadyStateInOpen():
25 PASS event.target is openRequest 23 PASS event.target is openRequest
26 PASS openRequest.readyState is "done" 24 PASS openRequest.readyState is "done"
27 PASS successfullyParsed is true 25 PASS successfullyParsed is true
28 26
29 TEST COMPLETE 27 TEST COMPLETE
30 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698