Quelle test_bug650776.html
Sprache: HTML
|
|
| products/Sources/formale Sprachen/C/Firefox/dom/base/test/test_bug650776.html |
 |
<! DOCTYPE HTML>
< html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=650776
-->
< head>
< meta charset= "utf-8">
< title>Test for Bug 650776</ title>
< script src= "/tests/SimpleTest/SimpleTest.js"></ script>
< link rel= "stylesheet" type= "text/css" href= "/tests/SimpleTest/test.css"/>
</ head>
< body>
<a target= "_blank" href= "https://bugzilla.mozilla.org/show_bug.cgi?id=650776">Mozill a Bug 650776</a>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 650776 **/
var u = SpecialPowers.Ci.nsIParserUtils;
var s = SpecialPowers.ParserUtils;
// Basic sanity
is(s.sanitize("foo", 0), "foo", "Wrong sanitizer result 1");
// Scripts get removed
is(s.sanitize("
|
2026-04-02
|