tor-browser

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

test_event_propagation.html (719B)


      1 <!--
      2  Any copyright is dedicated to the Public Domain.
      3  http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <html>
      6 <head>
      7  <title>Indexed Database Property Test</title>
      8 
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 
     12  <script type="text/javascript">
     13    function runTest() {
     14      SimpleTest.waitForExplicitFinish();
     15 
     16      function messageListener(event) {
     17        // eslint-disable-next-line no-eval
     18        eval(event.data);
     19      }
     20 
     21      window.addEventListener("message", messageListener);
     22    }
     23  </script>
     24 
     25 </head>
     26 
     27 <body onload="runTest();">
     28  <iframe src="event_propagation_iframe.html"></iframe>
     29 </body>
     30 
     31 </html>