tor-browser

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

test_peerConnection_bug822674.html (600B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <script type="application/javascript" src="pc.js"></script>
      5 </head>
      6 <body>
      7 <pre id="test">
      8 <script type="application/javascript">
      9  createHTML({
     10    bug: "822674",
     11    title: "RTCPeerConnection isn't a true javascript object as it should be"
     12  });
     13 
     14  runNetworkTest(function () {
     15    var pc = new RTCPeerConnection();
     16 
     17    pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface = 1;
     18    is(pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface, 1,
     19       "Can set expandos on an RTCPeerConnection");
     20 
     21    pc = null;
     22  });
     23 </script>
     24 </pre>
     25 </body>
     26 </html>