Index: LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
diff --git a/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt b/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
index 4b49554add8556b67113902a3963722aaa5302d2..3f0e6db58a0678de968a920f36322705078aeeb0 100644 |
--- a/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
+++ b/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
@@ -11,15 +11,17 @@ indexedDB.open(dbname) |
store = db.createObjectStore('store', {keyPath: 'id'}) |
store.createIndex('string length', 'string.length') |
store.createIndex('array length', 'array.length') |
+store.createIndex('blob size', 'blob.size') |
+store.createIndex('blob type', 'blob.type') |
testKeyPaths(): |
transaction = db.transaction('store', 'readwrite') |
store = transaction.objectStore('store') |
-store.put({"id":"id#0","string":"","array":[]}) |
-store.put({"id":"id#1","string":"xx","array":["x","x","x"]}) |
-store.put({"id":"id#2","string":"xxxx","array":["x","x","x","x","x","x"]}) |
-store.put({"id":"id#3","string":"xxxxxx","array":["x","x","x","x","x","x","x","x","x"]}) |
-store.put({"id":"id#4","string":"xxxxxxxx","array":["x","x","x","x","x","x","x","x","x","x","x","x"]}) |
+store.put({"id":"id#0","string":"","array":[],"blob":{"type":"type 0","size":0}}) |
+store.put({"id":"id#1","string":"xx","array":["x","x","x"],"blob":{"type":"type 1","size":4}}) |
+store.put({"id":"id#2","string":"xxxx","array":["x","x","x","x","x","x"],"blob":{"type":"type 2","size":8}}) |
+store.put({"id":"id#3","string":"xxxxxx","array":["x","x","x","x","x","x","x","x","x"],"blob":{"type":"type 3","size":12}}) |
+store.put({"id":"id#4","string":"xxxxxxxx","array":["x","x","x","x","x","x","x","x","x","x","x","x"],"blob":{"type":"type 4","size":16}}) |
request = store.index('string length').openCursor() |
PASS cursor.key is cursor.value.string.length |
PASS cursor.key is cursor.value.string.length |
@@ -32,6 +34,18 @@ PASS cursor.key is cursor.value.array.length |
PASS cursor.key is cursor.value.array.length |
PASS cursor.key is cursor.value.array.length |
PASS cursor.key is cursor.value.array.length |
+request = store.index('blob size').openCursor() |
+PASS cursor.key is cursor.value.blob.size |
+PASS cursor.key is cursor.value.blob.size |
+PASS cursor.key is cursor.value.blob.size |
+PASS cursor.key is cursor.value.blob.size |
+PASS cursor.key is cursor.value.blob.size |
+request = store.index('blob type').openCursor() |
+PASS cursor.key is cursor.value.blob.type |
+PASS cursor.key is cursor.value.blob.type |
+PASS cursor.key is cursor.value.blob.type |
+PASS cursor.key is cursor.value.blob.type |
+PASS cursor.key is cursor.value.blob.type |
PASS successfullyParsed is true |
TEST COMPLETE |