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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/versionchange-abort-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 When a versionchange transaction is aborted, the version and newly created objec t stores should be reset 1 When a versionchange transaction is aborted, the version and newly created objec t stores should be reset
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 = "versionchange-abort.html" 6 dbname = "versionchange-abort.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('foo'); 9 objectStore = db.createObjectStore('foo');
12 PASS db.objectStoreNames.length is 1 10 PASS db.objectStoreNames.length is 1
13 index = objectStore.createIndex('bar', 'baz'); 11 index = objectStore.createIndex('bar', 'baz');
14 PASS objectStore.indexNames.length is 1 12 PASS objectStore.indexNames.length is 1
15 event.target.transaction.abort(); 13 event.target.transaction.abort();
16 PASS db.version is 0 14 PASS db.version is 0
17 PASS db.objectStoreNames.length is 0 15 PASS db.objectStoreNames.length is 0
18 PASS successfullyParsed is true 16 PASS successfullyParsed is true
19 17
20 TEST COMPLETE 18 TEST COMPLETE
21 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698