diff options
Diffstat (limited to 'LayoutTests')
-rw-r--r-- | LayoutTests/storage/indexeddb/index-basics-expected.txt | 3 | ||||
-rw-r--r-- | LayoutTests/storage/indexeddb/index-basics.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/LayoutTests/storage/indexeddb/index-basics-expected.txt b/LayoutTests/storage/indexeddb/index-basics-expected.txt index 5cf1c9b..87fc0e1 100644 --- a/LayoutTests/storage/indexeddb/index-basics-expected.txt +++ b/LayoutTests/storage/indexeddb/index-basics-expected.txt @@ -27,8 +27,9 @@ PASS 'openCursor' in indexObject is true PASS 'getKey' in indexObject is true PASS 'get' in indexObject is true store.add({x: 'value', y: 'zzz', z: 2.72}, 'key') -event.target.source.add({x: 'value2', y: 'zzz2', z: 2.71}, 'key2') +event.target.source.add({x: 'value2', y: 'zzz2', z: 2.71, foobar: 12}, 'key2') store.createIndex('indexWhileAddIsInFlight', 'x') +store.createIndex('indexWithWeirdKeyPath', 'foobar') indexObject.getKey('value') PASS event.target.result is "key" indexObject2.getKey('zzz') diff --git a/LayoutTests/storage/indexeddb/index-basics.html b/LayoutTests/storage/indexeddb/index-basics.html index 128f364..4455785 100644 --- a/LayoutTests/storage/indexeddb/index-basics.html +++ b/LayoutTests/storage/indexeddb/index-basics.html @@ -68,10 +68,11 @@ function addData() function addMore() { - request = evalAndLog("event.target.source.add({x: 'value2', y: 'zzz2', z: 2.71}, 'key2')"); + request = evalAndLog("event.target.source.add({x: 'value2', y: 'zzz2', z: 2.71, foobar: 12}, 'key2')"); request.onsuccess = getData; request.onerror = unexpectedErrorCallback; window.indexObject4 = evalAndLog("store.createIndex('indexWhileAddIsInFlight', 'x')"); + window.indexObject5 = evalAndLog("store.createIndex('indexWithWeirdKeyPath', 'foobar')"); } function getData() |