Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / intl / uconv / tests / test_bug335816.html
blob8eca50d6a30e4a81e91abff4c1c541cb4d16c9b2
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=335816
5 -->
6 <head>
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" />
11 </head>
12 <body onload="test()">
13 <pre id="test">
14 <script class="testbody" type="text/javascript">
16 /** Test for Bug 335816 **/
17 function test()
19 ok($("display").innerHTML != "Keep that breathless charm", "Hidden script not executed");
20 SimpleTest.finish();
23 function WontYouPleaseArrangeIt()
25 $("display").innerHTML = "Keep that breathless charm";
28 SimpleTest.waitForExplicitFinish();
29 </script>
30 </pre>
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
36 v -->
37 <div id="content" style="display: none"><script>WontYouPleaseArrangeIt();</script></div>
38 </body>
39 </html>