mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 378325 - crash test by Martijn Wargers.
This commit is contained in:
parent
3585a194d9
commit
62a23a54e3
26
layout/base/crashtests/378325-1.html
Normal file
26
layout/base/crashtests/378325-1.html
Normal file
@ -0,0 +1,26 @@
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Testcase bug - Crash [@ PresShell::FlushPendingNotifications] when removing window on focus and then reappearing again</title>
|
||||
<script>
|
||||
setTimeout('document.documentElement.className = ""', 500);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<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>
|
||||
|
||||
<script>
|
||||
function doe() {
|
||||
if (!document.getElementById('content')) {
|
||||
var y = document.createElement('iframe');
|
||||
y.id = 'content';
|
||||
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';
|
||||
document.body.appendChild(y);
|
||||
}
|
||||
}
|
||||
|
||||
function doe2() {
|
||||
setInterval(doe, 200);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -132,6 +132,7 @@ load 374193-1.xhtml
|
||||
load 374297-1.html
|
||||
load 374297-2.html
|
||||
load 376223-1.xhtml
|
||||
load 378325-1.html
|
||||
load 379105-1.xhtml
|
||||
load 379419-1.xhtml
|
||||
load 379768-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user