layout/base/crashtests/317934-1-inner.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 <html>
     2 <head>
     3 <script>
     4 function clickit()
     5 {
     6 document.getElementById('button').click();
     7 }
     8 window.addEventListener('load', clickit, false);
     9 </script>
    10 </head>
    11 <body>
    12 <div style="width:400px;">
    13 <q style="position:relative;"><q style="position:relative;">
    14 Some random text, some random text, some random text
    15 <span style="position: relative;">
    16 Some random text, some random text, some random text
    17 </span>
    18 </q></q>
    19 </div>
    20 <script>
    21 function doe(){
    22 var q1=document.getElementsByTagName('q')[0];
    23 var q2=document.getElementsByTagName('q')[1];
    24 q1.style.position='static';
    25 q2.style.position='static';
    26 }
    27 //setTimeout(doe,200);
    28 </script>
    29 <button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button>
    30 </body>
    31 </html>

mercurial