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

Side by Side Diff: LayoutTests/fast/workers/shared-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test SharedWorker constructor functionality. Should print a series of PASS messa ges, followed with DONE. 1 Test SharedWorker constructor functionality. Should print a series of PASS messa ges, followed with DONE.
2 2
3 PASS: toString exception propagated correctly. 3 PASS: toString exception propagated correctly.
4 PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded) 4 PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded)
5 PASS: invoking SharedWorker constructor without arguments resulted in an excepti on (TypeError: Not enough arguments) 5 PASS: invoking SharedWorker constructor without arguments resulted in an excepti on (TypeError: Failed to execute 'Constructor' on 'SharedWorker': 1 argument req uired, but only 0 present.)
6 PASS: invoking SharedWorker constructor without name did not result in an except ion 6 PASS: invoking SharedWorker constructor without name did not result in an except ion
7 PASS: invoking SharedWorker constructor with null name did not result in an exce ption 7 PASS: invoking SharedWorker constructor with null name did not result in an exce ption
8 PASS: invoking SharedWorker constructor with undefined name did not result in an exception 8 PASS: invoking SharedWorker constructor with undefined name did not result in an exception
9 PASS: SharedWorker constructor succeeded: [object SharedWorker] 9 PASS: SharedWorker constructor succeeded: [object SharedWorker]
10 DONE 10 DONE
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698