Sign in
webkit
/
WebKit
/
5eef2ef56e4d6524e0eee7a7fcd3a0dbb9bf30c0
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
eventsource
/
eventsource-constructor-empty-url.any.js
blob: 850d854db4d22b757846ac3ffd79db7f207a2136 [
file
] [
log
] [
blame
]
// META: global=window,worker
test
(
function
()
{
const
source
=
new
EventSource
(
""
);
assert_equals
(
source
.
url
,
self
.
location
.
toString
());
},
"EventSource constructor with an empty url."
);