blob: 0163cd4ae0d093334d9ad736e67c04a1cc370025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function boom()
{
var frame = document.getElementById("frame");
var frameWin = frame.contentWindow;
var frameWinner = Object.create(frameWin);
var v = frameWinner.captureEvents.bind(frameWinner);
frame.src = "local-file-not-found";
setTimeout(function() { setTimeout(finish); v(0); });
}
function finish() {
document.documentElement.removeAttribute('class');
}
</script>
</head>
<body onload="boom();">
<iframe id="frame" srcdoc="1"></iframe>
</body>
</html>
|