| 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 66b9c191e31ba1c4108cd37e356beee675f9d46a..30695a3656c3c42d24c4b38a5728f4cec98d1a85 100644
|
| --- a/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
|
| +++ b/LayoutTests/storage/indexeddb/keypath-arrays-expected.txt
|
| @@ -13,21 +13,21 @@ store.createIndex('index', ['c', 'd'])
|
| Expecting exception from db.createObjectStore('store-with-generator', {keyPath: ['a', 'b'], autoIncrement: true})
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_ACCESS_ERR
|
| -Exception message: The autoIncrement option was set but the keyPath option was empty or an array.
|
| +Exception message: Failed to execute 'createObjectStore' on 'IDBDatabase': The autoIncrement option was set but the keyPath option was empty or an array.
|
| Expecting exception from store.createIndex('index-multientry', ['e', 'f'], {multiEntry: true})
|
| PASS Exception was thrown.
|
| PASS code is DOMException.INVALID_ACCESS_ERR
|
| -Exception message: The keyPath argument was an array and the multiEntry option is true.
|
| +Exception message: Failed to execute 'createIndex' on 'IDBObjectStore': The keyPath argument was an array and the multiEntry option is true.
|
|
|
| Empty arrays are not valid key paths:
|
| Expecting exception from db.createObjectStore('store-keypath-empty-array', {keyPath: []})
|
| PASS Exception was thrown.
|
| PASS code is DOMException.SYNTAX_ERR
|
| -Exception message: The keyPath option is not a valid key path.
|
| +Exception message: Failed to execute 'createObjectStore' on 'IDBDatabase': The keyPath option is not a valid key path.
|
| Expecting exception from store.createIndex('index-keypath-empty-array', [])
|
| PASS Exception was thrown.
|
| PASS code is DOMException.SYNTAX_ERR
|
| -Exception message: The keyPath argument contains an invalid key path.
|
| +Exception message: Failed to execute 'createIndex' on 'IDBObjectStore': The keyPath argument contains an invalid key path.
|
|
|
| testKeyPaths():
|
| transaction = db.transaction(['store'], 'readwrite')
|
|
|