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 | <title>Crash [@ DocumentViewerImpl::LoadComplete] with focusing and removing iframe on reload</title> |
michael@0 | 4 | </head> |
michael@0 | 5 | <body> |
michael@0 | 6 | <iframe id="content" onload="window.frames[0].focus()" style="width:1000px;height: 300px;"></iframe> |
michael@0 | 7 | <script> |
michael@0 | 8 | function doe2() { |
michael@0 | 9 | document.getElementById('content').src = 'data:text/html;charset=utf-8,%3Cscript%3Ewindow.addEventListener%28%27focus%27%2C%20function%28e%29%20%7Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%7D%2C%20true%29%3C/script%3E'; |
michael@0 | 10 | } |
michael@0 | 11 | setInterval(doe2, 500); |
michael@0 | 12 | </script> |
michael@0 | 13 | </body> |
michael@0 | 14 | </html> |