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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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
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')
« no previous file with comments | « LayoutTests/storage/indexeddb/key-type-array-expected.txt ('k') | LayoutTests/storage/indexeddb/keypath-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698