tor-browser

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

test_bug1314032.html (920B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Test for Bug 1314032</title>
      6  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      8 </head>
      9 <body>
     10 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1314032">Mozilla Bug 1243846</a>
     11 <p id="display"></p>
     12 <pre id="test">
     13 <script type="application/javascript">
     14 
     15 let win = window.open(URL.createObjectURL(new Blob([
     16 	'<meta charset="utf-8">' +
     17 	'<script>' +
     18 	  'let observer = new IntersectionObserver(([entry]) => {' +
     19 	    'document.body.textContent += entry.time' +
     20 	  '});' +
     21 		'observer.observe(document.documentElement);' +
     22 	'<\/script>'
     23 ], {'type': 'text/html'})));
     24 
     25 win.onload = function () {
     26 	win.close();
     27 	ok(true);
     28 	SimpleTest.finish();
     29 }
     30 
     31 SimpleTest.waitForExplicitFinish();
     32 
     33 </script>
     34 </pre>
     35 <div id="log">
     36 </div>
     37 </body>
     38 </html>