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

Unified Diff: LayoutTests/fast/workers/worker-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/workers/worker-constructor-expected.txt
diff --git a/LayoutTests/fast/workers/worker-constructor-expected.txt b/LayoutTests/fast/workers/worker-constructor-expected.txt
index 28bd80f24c7ab9dedbadc00ad693c1f76e8d9ac0..7c0555b6fe2f77cca5e7a1cf9b1430ca29e4e569 100644
--- a/LayoutTests/fast/workers/worker-constructor-expected.txt
+++ b/LayoutTests/fast/workers/worker-constructor-expected.txt
@@ -2,7 +2,7 @@ Test Worker constructor functionality. Should print a series of PASS messages, f
PASS: toString exception propagated correctly.
PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded)
-PASS: invoking Worker constructor without arguments resulted in an exception (TypeError: Not enough arguments)
+PASS: invoking Worker constructor without arguments resulted in an exception (TypeError: Failed to execute 'Constructor' on 'Worker': 1 argument required, but only 0 present.)
PASS: invoking Worker constructor with empty script URL resulted in an exception (SyntaxError: Failed to create a worker: an empty URL was provided.)
PASS: invoking Worker constructor with invalid script URL resulted in an exception (SyntaxError: Failed to create a worker: 'http://invalid:123$' is not a valid URL.)
PASS: onerror invoked for a script that could not be loaded.

Powered by Google App Engine
This is Rietveld 408576698