2013-03-12 01:45:21 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
function boom()
|
|
|
|
{
|
|
|
|
var frame = document.getElementById("frame");
|
|
|
|
var frameWin = frame.contentWindow;
|
|
|
|
var frameWinner = Object.create(frameWin);
|
2013-08-01 01:44:51 +04:00
|
|
|
var v = frameWinner.captureEvents.bind(frameWinner);
|
2013-03-12 01:45:21 +04:00
|
|
|
frame.src = "local-file-not-found";
|
|
|
|
setTimeout(function() { setTimeout(finish); v(0); });
|
|
|
|
}
|
|
|
|
|
|
|
|
function finish() {
|
|
|
|
document.documentElement.removeAttribute('class');
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body onload="boom();">
|
2017-07-20 09:33:15 +03:00
|
|
|
<iframe id="frame" srcdoc="1"></iframe>
|
2013-03-12 01:45:21 +04:00
|
|
|
</body>
|
|
|
|
</html>
|