Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | function clickit() |
michael@0 | 5 | { |
michael@0 | 6 | document.getElementById('button').click(); |
michael@0 | 7 | } |
michael@0 | 8 | window.addEventListener('load', clickit, false); |
michael@0 | 9 | </script> |
michael@0 | 10 | </head> |
michael@0 | 11 | <body> |
michael@0 | 12 | <div style="width:400px;"> |
michael@0 | 13 | <q style="position:relative;"><q style="position:relative;"> |
michael@0 | 14 | Some random text, some random text, some random text |
michael@0 | 15 | <span style="position: relative;"> |
michael@0 | 16 | Some random text, some random text, some random text |
michael@0 | 17 | </span> |
michael@0 | 18 | </q></q> |
michael@0 | 19 | </div> |
michael@0 | 20 | <script> |
michael@0 | 21 | function doe(){ |
michael@0 | 22 | var q1=document.getElementsByTagName('q')[0]; |
michael@0 | 23 | var q2=document.getElementsByTagName('q')[1]; |
michael@0 | 24 | q1.style.position='static'; |
michael@0 | 25 | q2.style.position='static'; |
michael@0 | 26 | } |
michael@0 | 27 | //setTimeout(doe,200); |
michael@0 | 28 | </script> |
michael@0 | 29 | <button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |