|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=390735 |
|
5 --> |
|
6 <head> |
|
7 <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
8 <title>Test for Bug 390735</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 <p id="display"></p> |
|
14 <div id="content" style="display: none"> |
|
15 |
|
16 </div> |
|
17 <pre id="test"> |
|
18 <script class="testbody" type="text/javascript"> |
|
19 /** Test for Bug 390735 **/ |
|
20 |
|
21 var contents = document.getElementsByTagName("head")[0].innerHTML; |
|
22 var expectedFind = "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"; |
|
23 |
|
24 ok(contents.indexOf(expectedFind) > -1, "The meta tag element was not found"); |
|
25 </script> |
|
26 </pre> |
|
27 </body> |
|
28 </html> |