blob: d2497c5022e92114f842f29213f867a7676005f2 [file] [log] [blame]
Test SharedWorker constructor functionality. Should print a series of PASS messages, followed with DONE.
PASS: toString exception propagated correctly.
PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded)
PASS: invoking SharedWorker constructor without arguments resulted in an exception (TypeError: Failed to construct 'SharedWorker': 1 argument required, but only 0 present.)
PASS: invoking SharedWorker constructor without name did not result in an exception
PASS: invoking SharedWorker constructor with null name did not result in an exception
PASS: invoking SharedWorker constructor with undefined name did not result in an exception
PASS: SharedWorker constructor succeeded: [object SharedWorker]
DONE