OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <body> | 2 <body> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 description('Make sure wrappers are setup using the window the property came fro
m, instead of the lexical global object.'); | 6 description('Make sure wrappers are setup using the window the property came fro
m, instead of the lexical global object.'); |
7 | 7 |
8 var frame = document.createElement('iframe'); | 8 var frame = document.createElement('iframe'); |
9 document.body.appendChild(frame); | 9 document.body.appendChild(frame); |
10 var inner = frame.contentWindow; | 10 var inner = frame.contentWindow; |
(...skipping 17 matching lines...) Expand all Loading... |
28 function testPath(path) { | 28 function testPath(path) { |
29 shouldBeTrue('inner.' + path + '.isInner'); | 29 shouldBeTrue('inner.' + path + '.isInner'); |
30 shouldBeTrue('inner.' + path + '.constructor.isInner'); | 30 shouldBeTrue('inner.' + path + '.constructor.isInner'); |
31 shouldBeTrue('inner.' + path + '.constructor.prototype.isInner'); | 31 shouldBeTrue('inner.' + path + '.constructor.prototype.isInner'); |
32 shouldBeTrue('inner.' + path + '.__proto__.isInner'); | 32 shouldBeTrue('inner.' + path + '.__proto__.isInner'); |
33 } | 33 } |
34 | 34 |
35 pathsToTest.forEach(testPath); | 35 pathsToTest.forEach(testPath); |
36 | 36 |
37 </script> | 37 </script> |
38 <script src="../js/resources/js-test-post.js"></script> | |
39 </body> | 38 </body> |
OLD | NEW |