parser/htmlparser/tests/mochitest/test_bug716579.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

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=716579
     5 -->
     6 <head>
     7   <meta charset="windows-1251">
     8   <title>Test for Bug 716579</title>
     9   <script type="application/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=716579">Mozilla Bug 716579</a>
    14 <p id="display"></p>
    15 <pre id="test">
    16 <script type="application/javascript">
    18 /** Test for Bug 716579 **/
    20 var html8 = "FAIL";
    21 var html16 = "FAIL";
    22 var xml8 = "FAIL";
    23 var xml16 = "FAIL"; 
    25 SimpleTest.waitForExplicitFinish();
    27 window.onload = function() {
    28   is(html8, "\u20AC", "HTML UTF-8 failed.");
    29   is(html16, "\u20AC", "HTML UTF-16 failed.");
    30   is(xml8, "\u20AC", "XML UTF-8 failed.");
    31   is(xml16, "\u20AC", "XML UTF-16 failed.");
    32   SimpleTest.finish();
    33 };
    35 </script>
    36 </pre>
    37 <div id="content" style="display: none">
    38 <iframe src="file_bug716579-8.html"></iframe>  
    39 <iframe src="file_bug716579-16.html"></iframe>  
    40 <iframe src="file_bug716579-8.xhtml"></iframe>  
    41 <iframe src="file_bug716579-16.xhtml"></iframe>  
    42 </div>
    43 </body>
    44 </html>

mercurial