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