Bug 1941128 - Turn off network.dns.native_https_query on Mac again
[gecko.git] / dom / svg / test / test_bug872812.html
blob5369504c8fadc931069732b63ceecb7b64cb5b54
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>
16 <iframe id="svg" src="viewport-helper.svg"></iframe>
18 <pre id="test">
19 <script class="testbody" type="application/javascript">
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!");
26 </script>
27 </pre>
28 </body>
29 </html>