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