Add crashtests. In old builds, these would have shown the problem only when Firefox was running under Valgrind.

This commit is contained in:
jruderman@hmc.edu 2007-12-23 16:54:56 -08:00
parent 43ccb38c5a
commit e22850dd2b
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html class="reftest-wait">
<head>
<script>
function foop()
{
document.getElementById("xxx").style.height = "10%";
document.getElementById("yyy").style.position = "relative";
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", function(){setTimeout(foop, 30)}, false);
</script>
</head>
<body>--<a id="yyy"><IMG align="right"></a><br id="xxx">==</body></html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html class="reftest-wait">
<head>
<style id="s"></style>
<script>
function foop()
{
var stylesheet = document.getElementById("s");
stylesheet.textContent = "#xxx { height: 10%; } #yyy { position: relative; }";
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", function(){setTimeout(foop, 30)}, false);
</script>
</head>
<body>--<a id="yyy"><IMG align="right"></a><br id="xxx">==</body></html>

View File

@ -5,6 +5,8 @@ load 331284-1.xhtml
load 334105-1.xhtml
load 334147-1.xhtml
load 337412-1.html
load 337883-1.html
load 337883-2.html
load 342322-1.html
load 348991-1.xhtml
load 359371-1.html