Sign in
webkit
/
WebKit
/
e5ac428f86b502d0a55e1057ddc3502d378c384d
/
.
/
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."
);