mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Add crashtests. In old builds, these would have shown the problem only when Firefox was running under Valgrind.
This commit is contained in:
parent
43ccb38c5a
commit
e22850dd2b
20
layout/generic/crashtests/337883-1.html
Normal file
20
layout/generic/crashtests/337883-1.html
Normal 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>
|
||||
|
21
layout/generic/crashtests/337883-2.html
Normal file
21
layout/generic/crashtests/337883-2.html
Normal 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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user