Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
14 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
15 <script type="application/javascript">
17 /** Test for Bug 862702 **/
18 is(Object.getPrototypeOf(img), HTMLImageElement.prototype,
19 "Wrong prototype object");
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">
28 </div>
29 <pre id="test">
30 </pre>
31 </body>
32 </html>