Sign in
webkit
/
WebKit
/
b4234713c85383e00e81c500ff74ee340e8a262a
/
.
/
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>