Add crashtest for bug 225868. The setTimeout seems to be necessary to get the second onload to fire.

This commit is contained in:
Jesse Ruderman 2008-10-21 20:50:14 -07:00
Родитель e602080bc5
Коммит fb85a3d7a8
3 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,14 @@
<html>
<head>
<style type="text/css">
html { overflow: hidden; }
</style>
</head>
<body onload="setTimeout(function(){document.write('<body onload=&quot;parent.document.documentElement.removeAttribute(\'class\');&quot;>2</body>'); document.close();}, 0);">
1
</body>
</html>

Просмотреть файл

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head></head>
<body>
<iframe src="225868-1-inner.html"></iframe>
</body>
</html>

Просмотреть файл

@ -1,3 +1,4 @@
load 225868-1.html
load 302260-1.html
load 307979-1.html
load 310556-1.xhtml