Sign in
webkit
/
WebKit
/
1f10227393c9dc21c9d2643241b56515c886ce78
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
websockets
/
Secure-Close-undefined.any.js
blob: 31b36e4d955d4c2a5d6a3e54867f47efd97253a6 [
file
] [
log
] [
blame
]
// META: script=websocket.sub.js
var
test
=
async_test
();
var
wsocket
=
CreateWebSocket
(
true
,
false
,
false
);
var
isOpenCalled
=
false
;
wsocket
.
addEventListener
(
'open'
,
test
.
step_func
(
function
(
evt
)
{
wsocket
.
close
(
undefined
);
test
.
done
();
}),
true
);