layout/base/crashtests/421432.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 <title>Crash [@ DocumentViewerImpl::LoadComplete] with focusing and removing iframe on reload</title>
     4 </head>
     5 <body>
     6 <iframe id="content" onload="window.frames[0].focus()" style="width:1000px;height: 300px;"></iframe>
     7 <script>
     8 function doe2() {
     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';
    10 }
    11 setInterval(doe2, 500);
    12 </script>
    13 </body>
    14 </html>

mercurial