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

Side by Side Diff: LayoutTests/storage/indexeddb/open-ordering-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 ordering of pending open calls. 1 Test IndexedDB ordering of pending open calls.
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 = "open-ordering.html" 6 dbname = "open-ordering.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname, 2) 8 indexedDB.open(dbname, 2)
11 9
12 runTest(): 10 runTest():
13 connection = event.target.result 11 connection = event.target.result
14 12
15 First a delete request, which will defer subsequent opens. The delete itself wil l be blocked by the open connection. 13 First a delete request, which will defer subsequent opens. The delete itself wil l be blocked by the open connection.
16 deleteRequest = indexedDB.deleteDatabase(dbname) 14 deleteRequest = indexedDB.deleteDatabase(dbname)
17 15
(...skipping 16 matching lines...) Expand all
34 32
35 onRequest3Success(): 33 onRequest3Success():
36 order.push(3) 34 order.push(3)
37 35
38 checkOrder(): 36 checkOrder():
39 PASS JSON.stringify(order) is "[1,2,3]" 37 PASS JSON.stringify(order) is "[1,2,3]"
40 PASS successfullyParsed is true 38 PASS successfullyParsed is true
41 39
42 TEST COMPLETE 40 TEST COMPLETE
43 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698