chromium/third_party/blink/web_tests/external/wpt/eventsource/eventsource-constructor-url-bogus.any.js

// META: global=window,worker
// META: title=EventSource: constructor (invalid URL)

test(() => {
  assert_throws_dom('SyntaxError', () => { new EventSource("http://this is invalid/"); });
});

done();