Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <script> |
michael@0 | 2 | function testSucceeded() { alert("success"); } |
michael@0 | 3 | function callback() { return "<script>opener.testSucceeded()</" + "script>"; } |
michael@0 | 4 | var w = window.open("javascript:opener.callback();"); |
michael@0 | 5 | </script> |