зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
8990c57e14
Коммит
009b1f8bdd
|
@ -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"?>
|
<?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[
|
<html:script><![CDATA[
|
||||||
function doe(i) {
|
function doe(i) {
|
||||||
document.documentElement.getElementsByTagName('*')[i].style.display='table-row';
|
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);
|
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||||
var button = document.getElementById('button');
|
var button = document.getElementById('button');
|
||||||
button.dispatchEvent(ev);
|
button.dispatchEvent(ev);
|
||||||
|
|
||||||
|
setTimeout(function() { document.documentElement.className = "" }, 500);
|
||||||
}
|
}
|
||||||
clickbutton();
|
window.addEventListener("load", clickbutton, false);
|
||||||
</html:script>
|
</html:script>
|
||||||
|
|
||||||
</window>
|
</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"?>
|
<?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[
|
<html:script><![CDATA[
|
||||||
function doe() {
|
function doe() {
|
||||||
document.documentElement.getElementsByTagName('*')[1].style.display='table-row';
|
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);
|
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||||
var button = document.getElementById('button');
|
var button = document.getElementById('button');
|
||||||
button.dispatchEvent(ev);
|
button.dispatchEvent(ev);
|
||||||
|
|
||||||
|
setTimeout(function() { document.documentElement.className = "" }, 500);
|
||||||
}
|
}
|
||||||
clickbutton();
|
window.addEventListener("load", clickbutton, false);
|
||||||
</html:script>
|
</html:script>
|
||||||
|
|
||||||
</window>
|
</window>
|
|
@ -58,8 +58,8 @@ load 306940-1.html
|
||||||
load 310267-1.xml
|
load 310267-1.xml
|
||||||
load 310638-1.svg
|
load 310638-1.svg
|
||||||
load 310638-2.html
|
load 310638-2.html
|
||||||
load 311661-1.html
|
load 311661-1.xul
|
||||||
load 311661-2.html
|
load 311661-2.xul
|
||||||
load 313086-1.xml
|
load 313086-1.xml
|
||||||
load 317285-1.html
|
load 317285-1.html
|
||||||
load 317934-1.html
|
load 317934-1.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче