Sign in
cobalt
/
cobalt
/
0c2b1d4428f8ae16220e86a16bebd07ff691a412
/
.
/
third_party
/
web_platform_tests
/
XMLHttpRequest
/
resources
/
workerxhr-simple.js
blob: f6bcec0befa6e98efa57c57babda722e7da9606c [
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
()