tor-browser

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

script-noembed-noframes-iframe.xhtml (693B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3 <title>Script inside noembed, noframes and iframe</title>
      4 <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 </head>
      8 <body>
      9 <div id="log"></div>
     10 <script>
     11 var run = [];
     12 </script>
     13 <div id="test">
     14 <noembed>
     15 <script>
     16 run.push("noembed");
     17 </script>
     18 </noembed>
     19 <noframes>
     20 <script>
     21 run.push("noframes");
     22 </script>
     23 </noframes>
     24 <iframe>
     25 <script>
     26 run.push("iframe");
     27 </script>
     28 </iframe>
     29 </div>
     30 <script>
     31 test(function() {
     32  assert_array_equals(run, ["noembed", "noframes", "iframe"], "Haven't run.");
     33 });
     34 </script>
     35 </body>
     36 </html>