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

Unified Diff: LayoutTests/storage/indexeddb/exceptions-expected.txt

Issue 114363002: Structured cloning: improve DataCloneError reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + reset V8TestInterfaceConstructor.cpp result 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/exceptions-expected.txt
diff --git a/LayoutTests/storage/indexeddb/exceptions-expected.txt b/LayoutTests/storage/indexeddb/exceptions-expected.txt
index f5e29d83d897f65e29a411419de4a6fdc1de4ff7..1b24ecd5043c612f530ac0633e519d96e374055b 100644
--- a/LayoutTests/storage/indexeddb/exceptions-expected.txt
+++ b/LayoutTests/storage/indexeddb/exceptions-expected.txt
@@ -160,7 +160,7 @@ The data being stored could not be cloned by the internal structured cloning alg
Expecting exception from store.add(self, 0)
PASS Exception was thrown.
PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
+Exception message: Failed to execute 'add' on 'IDBObjectStore': An object could not be cloned.
IDBObjectStore.clear()
This method throws a DOMException of type ReadOnlyError if the transaction which this IDBObjectStore belongs to is has its mode set to "readonly".
@@ -291,7 +291,7 @@ The data being stored could not be cloned by the internal structured cloning alg
Expecting exception from store.put(self, 0)
PASS Exception was thrown.
PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
+Exception message: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned.
db.close()
ro_transaction.oncomplete = transactionComplete
rw_transaction.oncomplete = transactionComplete
@@ -523,7 +523,7 @@ If the structured clone algorithm throws an exception, that exception is rethrow
Expecting exception from cursor.update(self)
PASS Exception was thrown.
PASS code is DOMException.DATA_CLONE_ERR
-Exception message: An object could not be cloned.
+Exception message: Failed to execute 'update' on 'IDBCursor': An object could not be cloned.
The transaction this IDBCursor belongs to is not active.
Expecting exception from cursorFromInactiveTransaction.update({})
PASS Exception was thrown.

Powered by Google App Engine
This is Rietveld 408576698