Sign in
webkit
/
WebKit
/
473b92ed852160eab7c2365a49eda22bbbc97909
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
eventsource
/
dedicated-worker
/
eventsource-close.js
blob: 875c9098bac380f122d075143d239da63bb33b31 [
file
] [
log
] [
blame
]
try
{
var
source
=
new
EventSource
(
"../resources/message.py"
)
source
.
onopen
=
function
(
e
)
{
this
.
close
()
postMessage
([
true
,
this
.
readyState
])
}
}
catch
(
e
)
{
postMessage
([
false
,
String
(
e
)])
}