tor-browser

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

test_bug872812.html (885B)


      1 <!DOCTYPE html>
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=872812
      5 -->
      6 <head>
      7  <title>Test for Bug 872812</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=872812">Mozilla Bug 872812</a>
     13 <p id="display"></p>
     14 <div id="content" style="display: none"></div>
     15 
     16 <iframe id="svg" src="viewport-helper.svg"></iframe>
     17 
     18 <pre id="test">
     19 <script class="testbody" type="application/javascript">
     20 
     21 var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
     22 ok(svg, "SVG exists");
     23 var a = document.createEvent("CustomEvent").initCustomEvent("", "", "", svg.viewBox);
     24 ok(true, "CustomEvent exists and we are not crashed!");
     25 
     26 </script>
     27 </pre>
     28 </body>
     29 </html>