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

Unified Diff: LayoutTests/storage/indexeddb/keypath-arrays-expected.txt

Issue 1184503003: IndexedDB: Array-type keypaths should not be returned as DOMStringLists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/resources/keypath-arrays.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
diff --git a/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt b/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
index 30695a3656c3c42d24c4b38a5728f4cec98d1a85..3da65a7d388c82609fa61cbcc7781eb0509c36b5 100644
--- a/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
+++ b/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
@@ -9,7 +9,9 @@ dbname = "keypath-arrays.html"
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
store = db.createObjectStore('store', {keyPath: ['a', 'b']})
-store.createIndex('index', ['c', 'd'])
+index = store.createIndex('index', ['c', 'd'])
+PASS areArraysEqual(index.keyPath, ['c', 'd']) is true
+PASS index.keyPath instanceof DOMStringList is false
Expecting exception from db.createObjectStore('store-with-generator', {keyPath: ['a', 'b'], autoIncrement: true})
PASS Exception was thrown.
PASS code is DOMException.INVALID_ACCESS_ERR
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/resources/keypath-arrays.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698