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