mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
24
devtools/client/webconsole/test/test-own-console.html
Normal file
24
devtools/client/webconsole/test/test-own-console.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html dir="ltr" xml:lang="en-US" lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue