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

Unified Diff: LayoutTests/storage/indexeddb/transaction-error-expected.txt

Issue 23477062: Have toDOMStringList() use the V8TRYCATCH_FOR_V8STRINGRESOURCE() macro (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months 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
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/transaction-error.js ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/storage/indexeddb/transaction-error-expected.txt
diff --git a/LayoutTests/storage/indexeddb/transaction-error-expected.txt b/LayoutTests/storage/indexeddb/transaction-error-expected.txt
index c3f94938aea19c2019c4f246303a03a2072b5aef..825c07e783083db46b49fad65679cb0936c39594 100644
--- a/LayoutTests/storage/indexeddb/transaction-error-expected.txt
+++ b/LayoutTests/storage/indexeddb/transaction-error-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: line 73: Uncaught Error: This should *NOT* be caught!
+CONSOLE MESSAGE: line 78: Uncaught Error: This should *NOT* be caught!
Test IDBTransaction.error cases.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -17,6 +17,9 @@ trans = db.transaction('storeName')
IDBTransaction.error should be null if transaction is not finished:
PASS trans.error is null
+transaction() should throw if one of the DOMStringList items cannot be converted to a String:
+PASS db.transaction(['storeName', nonConvertibleToString]) threw exception Exception in toString().
+
If IDBTransaction.abort() is explicitly called, IDBTransaction.error should be null:
trans.abort()
PASS trans.error is null
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/transaction-error.js ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698