tor-browser

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

test_resource_timing_nocors.html (745B)


      1 <!--
      2  Any copyright is dedicated to the Public Domain.
      3  http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 
      6 <!DOCTYPE HTML>
      7 <html>
      8 <!--
      9 https://bugzilla.mozilla.org/show_bug.cgi?id=1180145
     10 -->
     11 <head>
     12  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     13  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     14 </head>
     15 <body>
     16 
     17 <pre id="test">
     18 <script type="application/javascript">
     19 
     20 SimpleTest.waitForExplicitFinish();
     21 
     22 SpecialPowers.pushPrefEnv({"set": [["dom.enable_resource_timing", true]]}, start);
     23 var subwindow = null;
     24 
     25 function start() {
     26  subwindow = window.open("file_resource_timing_nocors.html");
     27 }
     28 
     29 function finishTests() {
     30  subwindow.close();
     31  SimpleTest.finish();
     32 }
     33 </script>
     34 </pre>
     35 
     36 </body>
     37 </html>