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

Unified Diff: LayoutTests/fast/events/init-message-event-expected.txt

Issue 38063003: Improve TypeError messages from failed array conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve TypeError messages from failed array conversions. Created 7 years, 2 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/events/init-message-event.html ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/init-message-event-expected.txt
diff --git a/LayoutTests/fast/events/init-message-event-expected.txt b/LayoutTests/fast/events/init-message-event-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c03f450f2bedd6ba05fd06ebec6fde749c1a3c0f
--- /dev/null
+++ b/LayoutTests/fast/events/init-message-event-expected.txt
@@ -0,0 +1,12 @@
+Checks that initMessageEvent() is working
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, {x:1}); threw exception TypeError: 8th argument is neither an array, nor does it have indexed properties..
+PASS newEvent.initMessageEvent("message", true, true, "ff", "*", 43, window, null) did not throw exception.
+PASS [object MessageEvent] is an instance of function MessageEvent() { [native code] }
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/init-message-event.html ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698