mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
27 lines
549 B
HTML
27 lines
549 B
HTML
<!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" src="data:text/html,1"></iframe>
|
|
</body>
|
|
</html>
|