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

Unified Diff: LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt

Issue 23812006: Have Dictionary use V8TRYCATCH_FOR_V8STRINGRESOURCE() macro (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test 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/fast/js/dictionary-string-conversion-exception.html ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt
diff --git a/LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt b/LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5a653b732b1434629effbfcc79b92aa19705956
--- /dev/null
+++ b/LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt
@@ -0,0 +1,12 @@
+Checks that an exception is thrown when a dictionary value cannot be converted to a String
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new MessageEvent('message', {origin: 'test'}).origin is "test"
+PASS new MessageEvent('message', {origin: 2}).origin is "2"
+PASS new MessageEvent('message', {origin: nonConvertibleToString}) threw exception Exception in toString().
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/js/dictionary-string-conversion-exception.html ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698