Bug 589723 - Remove framing in layout/base/crashtests/311661-* to ensure onload fires

--HG--
rename : layout/base/crashtests/311661-1-inner.xul => layout/base/crashtests/311661-1.xul
rename : layout/base/crashtests/311661-2-inner.xul => layout/base/crashtests/311661-2.xul
This commit is contained in:
Jesse Ruderman 2010-10-11 09:55:22 -07:00
Родитель 8990c57e14
Коммит 009b1f8bdd
5 изменённых файлов: 10 добавлений и 24 удалений

Просмотреть файл

@ -1,9 +0,0 @@
<html class="reftest-wait">
<head>
<script>
setTimeout('document.documentElement.className = ""', 500);
</script>
<body>
<iframe src="311661-1-inner.xul"></iframe>
</body>
</html>

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<window xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<window xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<html:script><![CDATA[
function doe(i) {
document.documentElement.getElementsByTagName('*')[i].style.display='table-row';
@ -22,8 +22,10 @@ function clickbutton()
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
var button = document.getElementById('button');
button.dispatchEvent(ev);
setTimeout(function() { document.documentElement.className = "" }, 500);
}
clickbutton();
window.addEventListener("load", clickbutton, false);
</html:script>
</window>

Просмотреть файл

@ -1,9 +0,0 @@
<html class="reftest-wait">
<head>
<script>
setTimeout('document.documentElement.className = ""', 500);
</script>
<body>
<iframe src="311661-2-inner.xul"></iframe>
</body>
</html>

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<window xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<window xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<html:script><![CDATA[
function doe() {
document.documentElement.getElementsByTagName('*')[1].style.display='table-row';
@ -19,8 +19,10 @@ function clickbutton()
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
var button = document.getElementById('button');
button.dispatchEvent(ev);
setTimeout(function() { document.documentElement.className = "" }, 500);
}
clickbutton();
window.addEventListener("load", clickbutton, false);
</html:script>
</window>

Просмотреть файл

@ -58,8 +58,8 @@ load 306940-1.html
load 310267-1.xml
load 310638-1.svg
load 310638-2.html
load 311661-1.html
load 311661-2.html
load 311661-1.xul
load 311661-2.xul
load 313086-1.xml
load 317285-1.html
load 317934-1.html