tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

html_ws-early-connection-page.html (747B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2     http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <!doctype HTML>
      4 <html>
      5  <head>
      6    <meta charset="utf-8"/>
      7    <title>WebSocket Inspection Test Page</title>
      8  </head>
      9  <body>
     10    <h1>WebSocket Inspection Test Page</h1>
     11    <script type="text/javascript">
     12      "use strict";
     13      const ws = new WebSocket(
     14        "ws://mochi.test:8888/browser/devtools/client/netmonitor/test/file_ws_backend");
     15 
     16      ws.onopen = () => {
     17        ws.send("readyState:" + document.readyState);
     18        ws.close();
     19      }
     20    </script>
     21    <script type="text/javascript"
     22      src="http://example.com/browser/devtools/client/netmonitor/test/sjs_slow-script-server.sjs"></script>
     23  </body>
     24 </html>