Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
src
/
third_party
/
web_platform_tests
/
workers
/
semantics
/
xhr
/
support
/
006-1.js
blob: d446781eb7c1cb0d5e60160fb1fe04f9a188f89c [
file
] [
log
] [
blame
]
onconnect
=
function
(
e
)
{
var
xhr
=
new
XMLHttpRequest
();
xhr
.
open
(
'GET'
,
'001-1.xml'
,
false
);
xhr
.
send
();
var
passed
=
xhr
.
responseText
==
'<x>bar</x>'
;
e
.
ports
[
0
].
postMessage
(
passed
);
}