4 https://bugzilla.mozilla.org/show_bug.cgi?id=335816
7 <meta http-equiv=
"Content-type" content=
"text/html; charset=UTF-8">
8 <title>Test for Bug
335816</title>
9 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <body onload=
"test()">
14 <script class=
"testbody" type=
"text/javascript">
16 /** Test for Bug
335816 **/
19 ok($(
"display").innerHTML !=
"Keep that breathless charm",
"Hidden script not executed");
23 function WontYouPleaseArrangeIt()
25 $(
"display").innerHTML =
"Keep that breathless charm";
28 SimpleTest.waitForExplicitFinish();
31 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=335816">Mozilla Bug
335816</a>
32 <p id=
"display">Lovely ... Never, ever change.
</p>
34 <!-- There is a UTF-8 BOM just here - - -
35 | which should not be stripped
37 <div id=
"content" style=
"display: none"><script
>WontYouPleaseArrangeIt();
</script></div>