Sign in
webkit
/
WebKit
/
c6951ff6f7d972427c05df8e7c39e3f2d74bf29c
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
xhr
/
resources
/
workerxhr-simple.js
blob: 9bae5a5cabd34c9e038fe8365f9496508079f84b [
file
] [
log
] [
blame
]
var
xhr
=
new
XMLHttpRequest
()
xhr
.
onreadystatechange
=
function
(){
if
(
xhr
.
readyState
==
4
){
var
status
=
xhr
.
responseText
===
'bottom\n'
?
'PASSED'
:
'FAILED'
self
.
postMessage
(
status
)
}
}
xhr
.
open
(
'GET'
,
'folder.txt'
,
true
)
xhr
.
send
()