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..d5240889a29667f5c8eb10cdc9aa27ef57b59b42 100644 |
--- a/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
+++ b/LayoutTests/storage/indexeddb/keypath-intrinsic-properties-expected.txt |
@@ -11,15 +11,16 @@ 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') |
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":"","size":0}}) |
+store.put({"id":"id#1","string":"xx","array":["x","x","x"],"blob":{"type":"","size":4}}) |
+store.put({"id":"id#2","string":"xxxx","array":["x","x","x","x","x","x"],"blob":{"type":"","size":8}}) |
+store.put({"id":"id#3","string":"xxxxxx","array":["x","x","x","x","x","x","x","x","x"],"blob":{"type":"","size":12}}) |
+store.put({"id":"id#4","string":"xxxxxxxx","array":["x","x","x","x","x","x","x","x","x","x","x","x"],"blob":{"type":"","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 +33,12 @@ 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 |
PASS successfullyParsed is true |
TEST COMPLETE |