tor-browser

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

test-iframe-parent.html (697B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2     http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <!DOCTYPE html>
      4 <html lang="en">
      5  <head>
      6    <meta charset="utf-8">
      7    <title>test for bug 989025 - iframe parent</title>
      8  </head>
      9  <body>
     10    <p>test for bug 989025 - iframe parent</p>
     11    <iframe src="https://example.org/browser/devtools/client/webconsole/test/browser/test-iframe-child.html"></iframe>
     12    <button>Throw Error</button>
     13    <script>
     14      "use strict";
     15 
     16      /* exported throwError */
     17      function throwError() {
     18        throwError.asdf();
     19      }
     20 
     21      document.querySelector("button").addEventListener("click", throwError);
     22    </script>
     23  </body>
     24 </html>