mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
476 B
HTML
23 lines
476 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html dir="ltr" xml:lang="en-US" lang="en-US">
|
||
|
<head>
|
||
|
<script>
|
||
|
window.console = {
|
||
|
foo: "bar"
|
||
|
}
|
||
|
|
||
|
function loadIFrame(aCallback) {
|
||
|
var iframe = document.body.querySelector("iframe");
|
||
|
iframe.addEventListener("load", function() {
|
||
|
iframe.removeEventListener("load", arguments.callee, true);
|
||
|
aCallback(iframe);
|
||
|
}, true);
|
||
|
|
||
|
iframe.setAttribute("src", "test-console.html");
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<iframe></iframe>
|
||
|
</body>
|