Add crashtest

This commit is contained in:
jruderman@hmc.edu 2008-04-22 23:12:13 -07:00
parent df8a455d3f
commit ca67f9572c
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<head>
<style type="text/css" id="s"></style>
<script type="text/javascript">
function lo()
{
window.onerror = oe;
setTimeout(function(){ location.reload(); }, 200);
}
function oe(a,b,c)
{
document.getElementById("s").textContent = ".nosuch { color: red }";
}
</script>
</head>
<body onload="lo();">
<xul:preference/>
<xul:tabs/>
</body>
</html>

View File

@ -0,0 +1,21 @@
<html class="reftest-wait">
<head>
<script type="text/javascript">
var childLoads = 0;
function inc()
{
++childLoads;
if (childLoads >= 2)
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body>
<iframe src="412651-1-frame.xhtml" onload="inc();"></iframe>
</body>
</html>

View File

@ -107,3 +107,4 @@ load 409513.html
load 409461-1.xhtml
load 410967.html
load 411870-1.html
load 412651-1.html