layout/generic/crashtests/750066.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/750066.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait"><head>
     1.6 +    <meta charset="utf-8">
     1.7 +    <title>Testcase for bug 750066</title>
     1.8 +<style>
     1.9 +iframe { -moz-transition: width 2000ms ease-out 0s; }
    1.10 +</style>
    1.11 +
    1.12 +<script>
    1.13 +function resize(w) {
    1.14 +  var win = window.frames[0];
    1.15 +  win.frameElement.style.width = w;
    1.16 +}
    1.17 +function doTest() {
    1.18 +  resize('1000px'); 
    1.19 +  setTimeout(function(){ 
    1.20 +    resize('500px');
    1.21 +    setTimeout(function(){
    1.22 +      document.documentElement.removeAttribute("class");
    1.23 +    },0);
    1.24 +  },500);
    1.25 +}
    1.26 +</script>
    1.27 +</head>
    1.28 +<body>
    1.29 +
    1.30 +<iframe src="750066-iframe.html"></iframe>
    1.31 +
    1.32 +<script>
    1.33 +window.addEventListener("MozReftestInvalidate", doTest, false);
    1.34 +</script>
    1.35 +
    1.36 +</body>
    1.37 +</html>

mercurial