blob: 920770488193b380f5bad4940ef0f7a5f1451dcd [file] [log] [blame]
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: no exception when passing an empty string to the EventSource constructor
PASS: passing an invalid URL to the EventSource constructor resulted in an exception (SyntaxError: The string did not match the expected pattern.)
PASS: no exception when passing a second argument to the EventSource constructor
DONE