tor-browser

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

mixed-content.https.any.js (271B)


      1 // META: global=window,worker
      2 // META: script=constants.sub.js
      3 
      4 test(() => {
      5  assert_throws_dom('SecurityError', () => CreateInsecureWebSocket(),
      6                    'constructor should throw');
      7 }, 'constructing an insecure WebSocket in a secure context should throw');