Crash tests for bug 409006.

This commit is contained in:
Mats Palmgren 2008-07-03 14:57:20 +02:00
parent beeec978ff
commit 51231ec6f2
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<html><head>
<script>
function boom() {
var s = '';
var limit = 910;
for (var i = 0; i < limit; i++)
{
s += 'xxxxxx';
}
for (var i = 0; i < limit; i++)
{
s += 'y\ny\ny\ny\n';
}
alert(s);
}
</script>
</head><body onload="boom()"></body></html>

View File

@ -0,0 +1,13 @@
<html><head>
<script>
function boom() {
var s = '';
var limit = 865;
for (var i = 0; i < limit; i++)
{
s += 'y\ny\ny\ny\n';
}
alert(s);
}
</script>
</head><body onload="boom()"></body></html>

View File

@ -0,0 +1,13 @@
<html><head>
<script>
function boom() {
var s = '';
var limit = 910;
for (var i = 0; i < limit; i++)
{
s += 'xxxxxx';
}
alert(s);
}
</script>
</head><body onload="boom()"></body></html>

View File

@ -30,6 +30,9 @@ load 404112-2.html
load 405268-1.xhtml
load 407761-1.html
load 407842.html
load 409006-1.html
load 409006-2.html
load 409006-3.html
load 410728-1.xml
load 416637-1.html
load 419095-1.html