зеркало из https://github.com/mozilla/gecko-dev.git
Add crashtest
This commit is contained in:
Родитель
3ae5b97a28
Коммит
f7887b75f4
|
@ -0,0 +1,34 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var dE = document.documentElement;
|
||||
var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
||||
|
||||
document.addEventListener("DOMNodeRemoved", whee, false);
|
||||
document.removeChild(dE);
|
||||
document.removeEventListener("DOMNodeRemoved", whee, false);
|
||||
|
||||
function whee()
|
||||
{
|
||||
document.removeEventListener("DOMNodeRemoved", whee, false);
|
||||
document.insertBefore(newSpan, dE);
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener("load", boom, false);
|
||||
|
||||
]]>
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>This text will disappear. There should be no assertions.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -13,6 +13,7 @@ load 344434-1.xhtml
|
|||
load 348049-1.xhtml
|
||||
load 344882-1.html
|
||||
load 354645-1.xul
|
||||
load 366200-1.xhtml
|
||||
load 369216-1.html
|
||||
load 386000-1.html
|
||||
load 386794-1.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче