dom/tests/mochitest/bugs/iframe_domparser_after_blank.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html>
     3 <head><meta charset=utf-8>
     4   <title></title>
     5   <script type="application/javascript">
     6   function runTest() {
     7     document.write("<body>");
     8     var succeeded = true;
     9     try {
    10       new DOMParser();
    11     } catch(e) {
    12       succeeded = false;
    13     }
    14     window.parent.ok(succeeded, "Creating DOMParser failed!");
    15     window.parent.SimpleTest.finish();
    16     document.close();
    17   }
    18   </script>
    19 </head>
    20 <body onload="runTest()">
    21 </body>
    22 </html>

mercurial