Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

// META: global=window,worker
// META: title=EventSource: constructor (invalid URL)
test(() => {
assert_throws_dom('SyntaxError', () => { new EventSource("http://this is invalid/"); });
});
done();