Sign in
webkit
/
WebKit
/
47b8206e2462d5a862fef65e142ae8764bd9b9e5
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
eventsource
/
dedicated-worker
/
eventsource-prototype.js
blob: 26993cb4efdc50d73d60f33c27381925bb50a054 [
file
] [
log
] [
blame
]
try
{
EventSource
.
prototype
.
ReturnTrue
=
function
()
{
return
true
}
var
source
=
new
EventSource
(
"../resources/message.py"
)
postMessage
([
true
,
source
.
ReturnTrue
(),
'EventSource'
in self
])
source
.
close
()
}
catch
(
e
)
{
postMessage
([
false
,
String
(
e
)])
}