mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
6 lines
205 B
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>
|