mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 18:37:31 +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
17
dom/tests/mochitest/bugs/bug346659-parent.html
Normal file
17
dom/tests/mochitest/bugs/bug346659-parent.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<body onload="postBack();">
|
||||
<script>
|
||||
var childWin;
|
||||
function postBack() {
|
||||
childWin = window.frames[0];
|
||||
var s = decodeURIComponent(window.location.search.substring(1));
|
||||
var cmd = JSON.parse(s);
|
||||
if ("load" in cmd) {
|
||||
window.testNum = cmd.load;
|
||||
} else if ("write" in cmd) {
|
||||
window.testNum = cmd.write;
|
||||
}
|
||||
window.opener.postMessage(s, "http://mochi.test:8888");
|
||||
}
|
||||
</script>
|
||||
<iframe></iframe>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue