blob: 6480e148261af9ab388a97037b1cbbeca3958922 [file] [log] [blame]
CONSOLE MESSAGE: SyntaxError: Unexpected token '<'
Test Worker 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 Worker constructor without arguments resulted in an exception (TypeError: Not enough arguments)
PASS: onerror invoked for an empty script URL.
PASS: invoking Worker constructor with invalid script URL resulted in an exception (SyntaxError: The string did not match the expected pattern.)
PASS: onerror invoked for a script that could not be loaded.
PASS: Successfully created worker.
DONE