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

michael@0 1 <html class="reftest-wait">
michael@0 2 <head>
michael@0 3 <title>Testcase bug - Crash [@ PresShell::FlushPendingNotifications] when removing window on focus and then reappearing again</title>
michael@0 4 <script>
michael@0 5 setTimeout('document.documentElement.className = ""', 500);
michael@0 6 </script>
michael@0 7 </head>
michael@0 8 <body>
michael@0 9 <iframe src="data:text/html;charset=utf-8,%3Chtml%3E%3Cbody%20tabindex%3D%221%22%20onfocus%3D%22top.doe2%28%29%3Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%22%3E%0A%3Cscript%3E%0AsetTimeout%28function%28%29%7Bdocument.body.focus%28%29%7D%2C%20200%29%3B%0A%3C/script%3E%3C/body%3E%3C/html%3E" id="content"></iframe>
michael@0 10
michael@0 11 <script>
michael@0 12 function doe() {
michael@0 13 if (!document.getElementById('content')) {
michael@0 14 var y = document.createElement('iframe');
michael@0 15 y.id = 'content';
michael@0 16 y.src = 'data:text/html;charset=utf-8,%3Chtml%3E%3Cbody%20tabindex%3D%221%22%20onfocus%3D%22top.doe2%28%29%3Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%22%3E%0A%3Cscript%3E%0AsetTimeout%28function%28%29%7Bdocument.body.focus%28%29%7D%2C%20200%29%3B%0A%3C/script%3E%3C/body%3E%3C/html%3E';
michael@0 17 document.body.appendChild(y);
michael@0 18 }
michael@0 19 }
michael@0 20
michael@0 21 function doe2() {
michael@0 22 setInterval(doe, 200);
michael@0 23 }
michael@0 24 </script>
michael@0 25 </body>
michael@0 26 </html>

mercurial