gecko/layout/generic/crashtests/455407.html

14 lines
741 B
HTML
Raw Normal View History

2013-05-12 14:09:30 -07:00
<html>
<head>Crash [@ nsSubDocumentFrame::Reflow] with generated content and resizing iframe</title>
</head>
<body>
<iframe id="content" src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%0A%3Cstyle%20id%3D%22e%22%3Ebody%3A%3Abefore%20%7B%20content%3A%22b%22%3B%20%7D%3C/style%3E%0A%3Cscript%3Ewindow.frameElement.style.width%3DMath.floor%28Math.random%28%29*100%29+%27%25%27%3B%0A%3C/script%3E%0A%3Ciframe%20src%3D%22http%3A//mozilla.org%22%3E%3C/iframe%3E%0A%3C/body%3E%3C/html%3E" onload="//doe()" style=" width:1000px;height: 200px;"></iframe>
<script>
function doe() {
document.getElementById('content').src = document.getElementById('content').src + '?1';
}
setInterval(doe, 1000);
</script>
</body>
</html>