Bug 1941128 - Turn off network.dns.native_https_query on Mac again
[gecko.git] / dom / svg / test / test_onerror.xhtml
blob394c88c89099c29327fce299dddcb35818b10b74
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <!--
3 https://bugzilla.mozilla.org/show_bug.cgi?id=500261
4 -->
5 <head>
6 <title>Test onerror behaviour</title>
7 <script src="/tests/SimpleTest/SimpleTest.js"></script>
8 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
9 </head>
10 <body>
11 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=500261">Mozilla Bug 500261</a>
12 <p id="display"></p>
13 <script class="testbody" type="text/javascript">
14 <![CDATA[
16 SimpleTest.waitForExplicitFinish();
18 function run() {
19 ok(true, "onerror method called");
20 SimpleTest.finish();
23 ]]>
24 </script>
25 <div id="content">
27 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="1" id="svg">
28 <image width="1" height="1" xlink:href="http://localhost/serverGone.gif" onerror="run()"/>
29 </svg>
31 </div>
32 <pre id="test">
33 </pre>
34 </body>
35 </html>