layout/generic/crashtests/750066.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 class="reftest-wait"><head>
     3     <meta charset="utf-8">
     4     <title>Testcase for bug 750066</title>
     5 <style>
     6 iframe { -moz-transition: width 2000ms ease-out 0s; }
     7 </style>
     9 <script>
    10 function resize(w) {
    11   var win = window.frames[0];
    12   win.frameElement.style.width = w;
    13 }
    14 function doTest() {
    15   resize('1000px'); 
    16   setTimeout(function(){ 
    17     resize('500px');
    18     setTimeout(function(){
    19       document.documentElement.removeAttribute("class");
    20     },0);
    21   },500);
    22 }
    23 </script>
    24 </head>
    25 <body>
    27 <iframe src="750066-iframe.html"></iframe>
    29 <script>
    30 window.addEventListener("MozReftestInvalidate", doTest, false);
    31 </script>
    33 </body>
    34 </html>

mercurial