js/xpconnect/tests/mochitest/test2_bug629331.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/tests/mochitest/test2_bug629331.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +  </head>
     1.8 +  <body>
     1.9 +    <script>
    1.10 +      document.domain = "example.org";
    1.11 +
    1.12 +      for (var j = 1; j <= 9; j++) {
    1.13 +        parent.i = j;
    1.14 +        var locali = parent.i;
    1.15 +        parent.is(locali, j, 'step ' + j + ' worked');
    1.16 +      }
    1.17 +
    1.18 +      parent.finish();
    1.19 +    </script>
    1.20 +  </body>
    1.21 +</html>

mercurial