Bug 1942639 - Propagate --filter argument from desktop_unittest.py to runreftest...
[gecko.git] / dom / xslt / tests / mochitest / test_bug468208.html
blobd3c05c73740e5f490fb211e98cb0506d8407f7e6
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=468208
5 -->
6 <head>
7 <title>Test for Bug 468208</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>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=468208">Mozilla Bug 468208</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
17 </div>
18 <pre id="test">
19 <script class="testbody" type="text/javascript">
21 /** Test for Bug 468208 **/
22 var xslt =
23 '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n\
24 <xsl:strip-space elements="color"/>\n\
25 </xsl:stylesheet>'
27 var xsltdoc = new DOMParser().parseFromString(xslt, "text/xml");
29 var processor = new XSLTProcessor;
30 processor.importStylesheet(xsltdoc);
31 ok(true, "XSLT shouldn't leak");
32 </script>
33 </pre>
34 </body>
35 </html>