js/xpconnect/tests/mochitest/bug589028_helper.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/tests/mochitest/bug589028_helper.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<html>
     1.5 +    <head>
     1.6 +        <script>
     1.7 +        function getMyOption() {
     1.8 +            return new Option();
     1.9 +        }
    1.10 +        function getCallersOption(caller) {
    1.11 +            return new caller.Option();
    1.12 +        }
    1.13 +        function getMyAudio() {
    1.14 +            return new Audio();
    1.15 +        }
    1.16 +        function getCallersAudio(caller) {
    1.17 +            return new caller.Audio();
    1.18 +        }
    1.19 +        function getMyImage() {
    1.20 +            return new Image();
    1.21 +        }
    1.22 +        function getCallersImage(caller) {
    1.23 +            return new caller.Image();
    1.24 +        }
    1.25 +        </script>
    1.26 +    </head>
    1.27 +    <body>
    1.28 +        the iframe
    1.29 +    </body>
    1.30 +</html>

mercurial