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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/create-index-unique-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's creating unique index and updating indexNames 1 Test IndexedDB's creating unique index and updating indexNames
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 = "create-index-unique.html" 6 dbname = "create-index-unique.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('a', { keyPath: 'id', autoIncrement: true }); 9 objectStore = db.createObjectStore('a', { keyPath: 'id', autoIncrement: true });
12 index = objectStore.createIndex(indexName, indexKeyPath, { unique: true }); 10 index = objectStore.createIndex(indexName, indexKeyPath, { unique: true });
13 PASS index.name is indexName 11 PASS index.name is indexName
14 PASS index.keyPath is indexKeyPath 12 PASS index.keyPath is indexKeyPath
15 PASS index.unique is true 13 PASS index.unique is true
16 PASS objectStore.indexNames.length is 1 14 PASS objectStore.indexNames.length is 1
17 PASS foundNewlyCreatedIndex is true 15 PASS foundNewlyCreatedIndex is true
18 PASS event.target.transaction.db is db 16 PASS event.target.transaction.db is db
19 PASS event.target.transaction.mode is 'versionchange' 17 PASS event.target.transaction.mode is 'versionchange'
20 PASS successfullyParsed is true 18 PASS successfullyParsed is true
21 19
22 TEST COMPLETE 20 TEST COMPLETE
23 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698