Sign in
chromium
/
chromium
/
src
/
third_party
/
4b412995f77df3dab95eab77c8c08ad816dbf776
/
.
/
blink
/
web_tests
/
external
/
wpt
/
eventsource
/
eventsource-constructor-url-bogus.any.js
blob: eb92837a71d38713c161171534f2539659995ebb [
file
] [
log
] [
blame
]
// META: global=window,worker
// META: title=EventSource: constructor (invalid URL)
test
(()
=>
{
assert_throws
(
'SyntaxError'
,
()
=>
{
new
EventSource
(
"http://this is invalid/"
);
});
});
done
();