layout/reftests/bugs/459443-1.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <body>
     4     <iframe id="foo"></iframe> 
     5     <script type="text/javascript">
     6         var n = document.getElementById('foo');
     7         var f = n.contentWindow;
     8         f.document.open();
     9         f.document.write('');
    10         f.onload = function() {
    11           f.document.designMode = 'on';
    12           setTimeout(function() {
    13             f.document.designMode='on';
    14             f.location = 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
    15             n.addEventListener("load",
    16                                function() { document.documentElement.className = ''; },
    17                                false);
    18           }, 0);
    19         };
    20         f.document.close();
    21     </script>
    22   </body>
    23 </html>

mercurial