layout/generic/crashtests/370174-3.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <HTML><HEAD style="display: table-row;"></HEAD>
     2 <BODY style="display: table-row;">
     3 <CODE>
     4 <span>
     5 <IFRAME style="display:table-column-group;"></IFRAME>
     6 </span>
     7 </CODE>
     8 <span style="display:table-column-group;"></span>
     9 <SCRIPT>
    10 function doe2() {
    11 document.body.setAttribute('style', '');
    12 document.getElementsByTagName('head')[0].setAttribute('style', '');
    13 document.body.offsetHeight;
    14 document.getElementsByTagName('span')[0].setAttribute('style', 'display: table-row;');
    15 }
    16 setTimeout(doe2,100);
    18 function tripleclick(){
    19 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    20 var wu = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
    21                 .getInterface(Components.interfaces.nsIDOMWindowUtils);
    22 wu.sendMouseEvent('mousedown',  500, 500, 0, 3, 0);
    23 setTimeout(tripleclick,20);
    24 setTimeout(function(){window.location.reload()}, 200);
    25 }
    26 setTimeout(tripleclick,200);
    27 </SCRIPT>
    28 </BODY></HTML>

mercurial