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

Unified Diff: LayoutTests/storage/indexeddb/objectstore-basics-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/objectstore-basics-expected.txt
diff --git a/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt b/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt
index d3e95174d4a36b1630500fabb1c59cbd3e4001d4..3c960976710e0d342825aab0b45e49edd5fcd29b 100644
--- a/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt
+++ b/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt
@@ -51,7 +51,7 @@ Expecting exception from store.index('asdf')
PASS Exception was thrown.
PASS code is DOMException.NOT_FOUND_ERR
PASS ename is 'NotFoundError'
-Exception message: The specified index was not found.
+Exception message: Failed to execute 'index' on 'IDBObjectStore': The specified index was not found.
createIndex():
index = store.createIndex('indexName', 'x', {unique: true})
PASS index is non-null.
@@ -63,7 +63,7 @@ Expecting exception from store.index('asdf')
PASS Exception was thrown.
PASS code is DOMException.NOT_FOUND_ERR
PASS ename is 'NotFoundError'
-Exception message: The specified index was not found.
+Exception message: Failed to execute 'index' on 'IDBObjectStore': The specified index was not found.
indexedDB.open(dbname, 2)
db.close()
PASS db.version is 2
@@ -113,7 +113,7 @@ Expecting exception from store.add({x: 'othervalue'}, null)
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': The parameter is not a valid key.
db.transaction(['storeName'], 'readwrite')
store = transaction.objectStore('storeName')
Ensure invalid key pointed at by index keyPath is ignored
@@ -139,25 +139,25 @@ Expecting exception from store.get({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'get' on 'IDBObjectStore': The parameter is not a valid key.
Passing an invalid key into store.delete().
Expecting exception from store.delete({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'delete' on 'IDBObjectStore': The parameter is not a valid key.
Passing an invalid key into store.add().
Expecting exception from store.add(null, {})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': The parameter is not a valid key.
Passing an invalid key into store.put().
Expecting exception from store.put(null, {})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key.
testPreConditions():
indexedDB.open(dbname, 3)
@@ -174,31 +174,31 @@ Expecting exception from storeWithInLineKeys.put({key: 1}, 'key')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The object store uses in-line keys and the key parameter was provided.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': The object store uses in-line keys and the key parameter was provided.
The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
Expecting exception from storeWithOutOfLineKeys.put({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
The object store uses in-line keys and the result of evaluating the object store's key path yields a value and that value is not a valid key.
Expecting exception from storeWithInLineKeys.put({key: null})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: Evaluating the object store's key path yielded a value that is not a valid key.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': Evaluating the object store's key path yielded a value that is not a valid key.
The object store uses in-line keys but no key generator and the result of evaluating the object store's key path does not yield a value.
Expecting exception from storeWithInLineKeys.put({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: Evaluating the object store's key path did not yield a value.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': Evaluating the object store's key path did not yield a value.
The key parameter was provided but does not contain a valid key.
Expecting exception from storeWithOutOfLineKeys.put({}, null)
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key.
IDBObjectStore.add()
The object store uses in-line keys and the key parameter was provided.
@@ -206,31 +206,31 @@ Expecting exception from storeWithInLineKeys.add({key: 1}, 'key')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The object store uses in-line keys and the key parameter was provided.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store uses in-line keys and the key parameter was provided.
The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
Expecting exception from storeWithOutOfLineKeys.add({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': The object store uses out-of-line keys and has no key generator and the key parameter was not provided.
The object store uses in-line keys and the result of evaluating the object store's key path yields a value and that value is not a valid key.
Expecting exception from storeWithInLineKeys.add({key: null})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: Evaluating the object store's key path yielded a value that is not a valid key.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': Evaluating the object store's key path yielded a value that is not a valid key.
The object store uses in-line keys but no key generator and the result of evaluating the object store's key path does not yield a value.
Expecting exception from storeWithInLineKeys.add({})
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: Evaluating the object store's key path did not yield a value.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': Evaluating the object store's key path did not yield a value.
The key parameter was provided but does not contain a valid key.
Expecting exception from storeWithOutOfLineKeys.add({}, null)
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
-Exception message: The parameter is not a valid key.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': The parameter is not a valid key.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698