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

Unified Diff: LayoutTests/fast/eventsource/eventsource-constructor-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline 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
Index: LayoutTests/fast/eventsource/eventsource-constructor-expected.txt
diff --git a/LayoutTests/fast/eventsource/eventsource-constructor-expected.txt b/LayoutTests/fast/eventsource/eventsource-constructor-expected.txt
index 404e80b7c02b773fc4fa214800350501472c4d5b..2d453ccc446718b4d04af4b73e7a9307a50382fc 100644
--- a/LayoutTests/fast/eventsource/eventsource-constructor-expected.txt
+++ b/LayoutTests/fast/eventsource/eventsource-constructor-expected.txt
@@ -2,7 +2,7 @@ CONSOLE MESSAGE: Refused to connect to 'http://disallowed.example.com/' because
Test EventSource constructor functionality. Should print a series of PASS messages followed by DONE.
-PASS: missing argument to EventSource constructor resulted in an exception (TypeError: Not enough arguments)
+PASS: missing argument to EventSource constructor resulted in an exception (TypeError: Failed to execute 'Constructor' on 'EventSource': 1 argument required, but only 0 present.)
PASS: passing an empty string to the EventSource constructor resulted in an exception (SyntaxError: Cannot open an EventSource to an empty URL.)
PASS: passing an invalid URL to the EventSource constructor resulted in an exception (SyntaxError: Cannot open an EventSource to 'http://webserver:eighty/'. The URL is invalid.)
PASS: passing a Content-Security-Policy-blocked URL to the EventSource constructor resulted in an exception (SecurityError: Refused to connect to 'http://disallowed.example.com/' because it violates the document's Content Security Policy.)

Powered by Google App Engine
This is Rietveld 408576698