layout/xul/crashtests/381862.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/381862.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<html><head>
     1.5 +<title>Testcase bug - Crash [@ nsBoxFrame::BuildDisplayListForChildren] with tree stuff in iframe toggling display</title>
     1.6 +</head>
     1.7 +<body>
     1.8 +<iframe src="data:application/vnd.mozilla.xul+xml;charset=utf-8,%3Cwindow%20xmlns%3D%22http%3A//www.mozilla.org/keymaster/gatekeeper/there.is.only.xul%22%3E%0A%20%20%3Ctree%20style%3D%22display%3A%20block%3B%20position%3A%20absolute%3B%22%3E%0A%20%20%20%20%3Ctree%20style%3D%22display%3A%20table%3B%22%3E%0A%20%20%20%20%20%20%3Ctreeseparator%20style%3D%22display%3A%20block%3B%20position%3A%20absolute%3B%22%3E%0A%20%20%20%20%20%20%20%20%3Ctreechildren%20style%3D%22display%3A%20block%3B%22/%3E%0A%20%20%20%20%20%20%3C/treeseparator%3E%0A%20%20%20%20%20%20%3Ctreechildren%20style%3D%22display%3A%20none%3B%22/%3E%0A%20%20%20%20%3C/tree%3E%0A%20%20%3C/tree%3E%0A%3C/window%3E" id="content"></iframe>
     1.9 +
    1.10 +<script>
    1.11 +function toggleIframe(){
    1.12 +var x=document.getElementById('content');
    1.13 +x.style.display = x.style.display == 'none' ? x.style.display = 'block' : x.style.display = 'none';
    1.14 +setTimeout(toggleIframe,200);
    1.15 +}
    1.16 +setTimeout(toggleIframe,500);
    1.17 +
    1.18 +function removestyles(i){
    1.19 +window.frames[0].document.getElementsByTagName('*')[1].removeAttribute('style');
    1.20 +}
    1.21 +
    1.22 +setTimeout(removestyles,500,1);
    1.23 +/*template*/
    1.24 +</script>
    1.25 +</body>
    1.26 +</html>

mercurial