tor-browser

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

test_Image_constructor.html (795B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=862702
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <!-- Make sure our script runs before anything else -->
      9  <script>
     10   var img = new Image;
     11  </script>
     12  <title>Test for Bug 862702</title>
     13  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     14  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     15  <script type="application/javascript">
     16 
     17  /** Test for Bug 862702 */
     18  is(Object.getPrototypeOf(img), HTMLImageElement.prototype,
     19     "Wrong prototype object");
     20 
     21  </script>
     22 </head>
     23 <body>
     24 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=862702">Mozilla Bug 862702</a>
     25 <p id="display"></p>
     26 <div id="content" style="display: none">
     27 
     28 </div>
     29 <pre id="test">
     30 </pre>
     31 </body>
     32 </html>