layout/xul/tree/crashtests/601427.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/tree/crashtests/601427.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<script>
     1.7 +
     1.8 +var onPaintFunctions =
     1.9 +[
    1.10 +  function() { document.documentElement.style.MozAppearance = "treeheadersortarrow"; },
    1.11 +  function() { document.documentElement.style.position = "fixed"; },
    1.12 +  function() { document.documentElement.removeAttribute("class"); }
    1.13 +];
    1.14 +
    1.15 +var i = 0;
    1.16 +
    1.17 +function advance()
    1.18 +{
    1.19 +  var f = onPaintFunctions[i++];
    1.20 +  if (f)
    1.21 +    f();
    1.22 +}
    1.23 +
    1.24 +function start()
    1.25 +{
    1.26 +  window.addEventListener("MozAfterPaint", advance, true);
    1.27 +  advance();
    1.28 +}
    1.29 +
    1.30 +window.addEventListener("load", start, false);
    1.31 +
    1.32 +</script>
    1.33 +</html>

mercurial