layout/base/crashtests/421432.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>
     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