gecko/dom/tests/mochitest/dom-level0/framed_location.html

12 lines
326 B
HTML

<script>
window.parent.postMessage({
"hash": window.location.hash,
"host": window.location.host,
"hostname": window.location.hostname,
"origin": window.location.origin,
"pathname": window.location.pathname,
"port": window.location.port,
"protocol": window.location.protocol,
}, "*");
</script>