Sign in
webkit
/
WebKit
/
827d8d85df2265cb42dbb614ee23888d063fb795
/
.
/
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
);