tor-browser

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

test-inspect-cross-domain-objects-frame.html (754B)


      1 <!DOCTYPE HTML>
      2 <html lang="en">
      3  <head>
      4    <meta charset="utf-8">
      5    <title>Web Console test for bug 869003</title>
      6    <!-- Any copyright is dedicated to the Public Domain.
      7       - http://creativecommons.org/publicdomain/zero/1.0/ -->
      8    <script type="text/javascript">
      9      /* eslint-disable */
     10      window.onload = function testConsoleLogging()
     11      {
     12        var obj1 = { hello: "world!", bug: 869003 };
     13        var obj2 = Object.assign(function func(arg){}, obj1);
     14        var obj3 = document.getElementById("testEl");
     15        console.log("foobar", obj1, obj2, obj3);
     16      };
     17    </script>
     18  </head>
     19  <body>
     20    <p id="testEl">Make sure users can inspect objects from cross-domain iframes.</p>
     21    <p>Iframe window.</p>
     22  </body>
     23 </html>