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