gecko/dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html

6 lines
205 B
HTML

<script>
function testSucceeded() { alert("success"); }
function callback() { return "<script>opener.testSucceeded()</" + "script>"; }
var w = window.open("javascript:opener.callback();");
</script>