Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=380383
5 -->
6 <head>
7 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
8 <title>Test for Bug 380383</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>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=380383">Mozilla Bug 380383</a>
14 <p id="display">
15 <iframe id="f1" name="f1"></iframe>
16 <iframe id="f2" name="f2"></iframe>
17 </p>
18 <div id="content" style="display: none">
20 </div>
21 <pre id="test">
22 <script class="testbody" type="text/javascript">
23 /** Test for Bug 380383 **/
24 is($("f1").contentDocument.characterSet, "UTF-8",
25 "Unexpected charset for f1");
27 function runTest() {
28 is($("f2").contentDocument.characterSet, "UTF-8",
29 "Unexpected charset for f2");
30 }
32 addLoadEvent(runTest);
33 addLoadEvent(SimpleTest.finish);
34 SimpleTest.waitForExplicitFinish();
35 </script>
36 </pre>
37 </body>
38 </html>