зеркало из https://github.com/mozilla/gecko-dev.git
bug 326834 - crash test by Martijn Wargers.
This commit is contained in:
Родитель
5325a82a9a
Коммит
1b4630a7e3
|
@ -0,0 +1,17 @@
|
|||
<window title="Testcase bug 326834 - Crash with evil xul testcase, using listbox/listitem and display: table-cell"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<listbox>
|
||||
<listitem label="This page should not crash Mozilla"/>
|
||||
</listbox>
|
||||
<html:script>
|
||||
function doe() {
|
||||
var el=document.getElementsByTagName('*');
|
||||
document.getElementsByTagName('listbox')[0].style.display = 'table-cell';
|
||||
document.getElementsByTagName('listitem')[0].style.display = 'table-cell';
|
||||
window.getComputedStyle(document.getElementsByTagName('listitem')[0], '').getPropertyValue("height");
|
||||
document.getElementsByTagName('listitem')[0].style.display = '';
|
||||
}
|
||||
setTimeout(doe,500);
|
||||
</html:script>
|
||||
</window>
|
|
@ -0,0 +1,9 @@
|
|||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
setTimeout('document.documentElement.className = ""', 1000);
|
||||
</script>
|
||||
<body>
|
||||
<iframe src="326834-1-inner.xul"></iframe>
|
||||
</body>
|
||||
</html>
|
|
@ -9,6 +9,7 @@ load 291702-2.xul
|
|||
load 291702-3.xul
|
||||
load 294371-1.xul
|
||||
load 311457-1.html
|
||||
load 326834-1.html
|
||||
load 322786-1.xul
|
||||
load 326879-1.xul
|
||||
load 327776-1.xul
|
||||
|
|
Загрузка…
Ссылка в новой задаче