bug 394014 - crash tests by Martijn Wargers.

This commit is contained in:
Bob Clary 2009-04-24 10:08:21 -07:00
Родитель 3a31201fb0
Коммит 0ec12c0d75
9 изменённых файлов: 90 добавлений и 0 удалений

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

@ -0,0 +1,21 @@
<html><head></head>
<body>
<span id="a" style="display: none;">
<span id="b">
<span style="-moz-binding: url(data:text/xml;charset=utf-8,%3Cbindings%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22%3E%0A%3Cbinding%20id%3D%22a%22%3E%0A%3Cimplementation%3E%0A%3Cconstructor%3E%0A%20%20this.style.outline%3D%27%27%3B%0A%3C/constructor%3E%0A%3C/implementation%3E%0A%3C/binding%3E%0A%3C/bindings%3E);"></span>
</span>
</span>
<script>
for (var i=0;i<document.getElementsByTagName('*').length;i++){
document.getElementsByTagName('*')[i];
}
function doe2() {
//alert('t');
document.getElementById('b').addEventListener('DOMSubtreeModified', function(e) {window.frameElement.parentNode.removeChild(window.frameElement) }, true);
document.body.style.display = 'none';
document.getElementById('a').style.display = '';
}
setTimeout(doe2, 20);
</script>
</body>
</html>

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

@ -0,0 +1,10 @@
<html><head>
<title>Testcase bug 394014 - Crash [@ NS_ProcessNextEvent_P] with DOMSubtreeModified removing windows, binding and other stuff</title>
</head>
<body>
<iframe src="394014-1-iframe.html"></iframe>
<script>
setInterval(function() {window.location.reload()}, 1000);
</script>
</body>
</html>

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

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

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

@ -0,0 +1,6 @@
<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xlink="http://www.w3.org/1999/xlink">
<binding id="c" inheritstyle="false">
<content><children/></content>
<implementation><constructor>
</constructor></implementation>
</binding></bindings>

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

@ -0,0 +1,10 @@
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="a">
<implementation>
<constructor>
window.frameElement.parentNode.removeChild(window.frameElement);
</constructor>
</implementation>
<content><children/></content>
</binding>
</bindings>

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

@ -0,0 +1,12 @@
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="a">
<implementation>
<destructor>
window.frameElement.parentNode.removeChild(window.frameElement);
</destructor>
</implementation>
<content>
<children/>
</content>
</binding>
</bindings>

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

@ -0,0 +1,13 @@
<html><head>
</head><body>
<span style=" -moz-binding: url(394014-2-constructordestructor.xml#a);"></span>
<span style="-moz-binding: url(394014-2-constructor.xml#a);">
<style>style {-moz-binding:url(394014-2-binding.xml#c);</style>
<textarea></textarea>
</span>
</body>
</html>

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

@ -0,0 +1,7 @@
<html><head>
<title>Testcase bug 394014 - Crash [@ NS_ProcessNextEvent_P] with DOMSubtreeModified removing windows, binding and other stuff</title>
</head>
<body>tt
<iframe src="394014-2-crash.html"></iframe>
</body>
</html>

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

@ -157,6 +157,8 @@ load 393326-1.html
load 393326-2.html
load 393661-1.html
load 393801-1.html
load 394014-1.html
load 394014-2.html
load 394150-1.xhtml
load 397011-1.xhtml
load 398510-1.xhtml