Sign in
webkit
/
WebKit
/
2a0aecef68e2ca0674a52b051412def7e6b01404
/
.
/
LayoutTests
/
http
/
tests
/
websocket
/
resources
/
construct-in-detached-frame.html
blob: ccb2b0a4b0827312821ebf9aaf9b9db7a4599310 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<script>
var
parentWindow
=
parent
;
var
webSocketClass
=
WebSocket
;
parentWindow
.
detachIframe
();
try
{
new
webSocketClass
(
'ws://127.0.0.1/'
);
}
catch
(
e
)
{
parentWindow
.
console
.
log
(
e
.
message
);
}
parentWindow
.
done
();
</script>