gecko-dev/dom/base/crashtests/504224.html

30 строки
673 B
HTML

<html class="reftest-wait">
<head>
<title>Crash [@ nsFocusManager::GetCommonAncestor], part 2</title>
</head>
<body>
<script>
function oniframeload() {
window.frames[0].location.reload();
};
</script>
<iframe src="file_504224.html" id="content" onload="oniframeload();" ></iframe>
<script>
var src='file_504224.html';
setInterval(function() {
var x = document.getElementById('content');
if (!x) {
x=document.createElement('iframe');
x.src=src;
x.id = 'content';
document.body.appendChild(x);
setTimeout(function() {
window.focus();
document.documentElement.removeAttribute('class');
}, 100);
}
}, 500);
</script>
</body>
</html>