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

Side by Side Diff: LayoutTests/storage/indexeddb/prefetch-bugfix-108071-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 Regression test for http://crbug.com/108071 1 Regression test for http://crbug.com/108071
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 = "prefetch-bugfix-108071.html" 6 dbname = "prefetch-bugfix-108071.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('store', {keyPath: 'id'}) 9 objectStore = db.createObjectStore('store', {keyPath: 'id'})
12 10
13 resetObjectStore(): 11 resetObjectStore():
14 objectStore.clear() 12 objectStore.clear()
15 objectStore.add({id: 0, name: "Alpha"}) 13 objectStore.add({id: 0, name: "Alpha"})
16 objectStore.add({id: 1, name: "Bravo"}) 14 objectStore.add({id: 1, name: "Bravo"})
17 objectStore.add({id: 2, name: "Charlie"}) 15 objectStore.add({id: 2, name: "Charlie"})
(...skipping 23 matching lines...) Expand all
41 0: Alpha 39 0: Alpha
42 1: Bravo 40 1: Bravo
43 2: Charlie 41 2: Charlie
44 3: Delta 42 3: Delta
45 trans.abort() 43 trans.abort()
46 PASS Transaction aborted as expected 44 PASS Transaction aborted as expected
47 PASS successfullyParsed is true 45 PASS successfullyParsed is true
48 46
49 TEST COMPLETE 47 TEST COMPLETE
50 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698