mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Add crashtest.
This commit is contained in:
parent
91e16977ee
commit
ded702c887
27
content/base/crashtests/325730-1.html
Normal file
27
content/base/crashtests/325730-1.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<script>
|
||||
|
||||
function init()
|
||||
{
|
||||
document.addEventListener("DOMNodeRemoved", meep, false);
|
||||
document.body.appendChild(document.getElementById("b"));
|
||||
|
||||
function meep()
|
||||
{
|
||||
document.removeEventListener("DOMNodeRemoved", meep, false);
|
||||
document.body.removeChild(document.getElementById("c"));
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener("load", init, false);
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body><div id="b"></div><div id="c"></div></body>
|
||||
</html>
|
2
content/base/crashtests/crashtests.list
Normal file
2
content/base/crashtests/crashtests.list
Normal file
@ -0,0 +1,2 @@
|
||||
load 325730-1.html
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
include ../../testing/crashtest/sanity/crashtests.list
|
||||
|
||||
include ../../content/base/crashtests/crashtests.list
|
||||
include ../../content/svg/content/src/crashtests/crashtests.list
|
||||
include ../../content/xul/templates/src/crashtests/crashtests.list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user