tor-browser

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

reporterror-in-detached-window-crash.html (311B)


      1 <!doctype html>
      2 <title>window.reportError() doesn't crash when window is detached</title>
      3 <link rel="help" href="https://crbug.com/1445375">
      4 <body>
      5 <script>
      6 let i = document.createElement("iframe");
      7 document.body.appendChild(i);
      8 let i_win = i.contentWindow;
      9 i.remove();
     10 i_win.reportError("an error");
     11 </script>