4 <title>Test to ensure TCPSocket permission enabled and no tcp-socket perm does not allow open
</title>
5 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
10 <div id=
"content" style=
"display: none">
13 <script type=
"application/javascript">
15 * TCPSocket and its legacy mozTCPSocket variant should never be exposed to
19 is('TCPSocket' in this, false,
"TCPSocket should not be accessible to content");
20 is('TCPServerSocket' in this, false,
"TCPServerSocket should not be accessible to content");
21 is('mozTCPSocket' in navigator, false,
"mozTCPSocket should not be accessible to content");