LEFT | RIGHT |
(no file at all) | |
1 <!-- | 1 <!-- |
2 - Copyright (C) 2011 Google Inc. | 2 - Copyright (C) 2011 Google Inc. |
3 - | 3 - |
4 - Licensed under the Apache License, Version 2.0 (the "License"); | 4 - Licensed under the Apache License, Version 2.0 (the "License"); |
5 - you may not use this file except in compliance with the License. | 5 - you may not use this file except in compliance with the License. |
6 - You may obtain a copy of the License at | 6 - You may obtain a copy of the License at |
7 - | 7 - |
8 - http://www.apache.org/licenses/LICENSE-2.0 | 8 - http://www.apache.org/licenses/LICENSE-2.0 |
9 - | 9 - |
10 - Unless required by applicable law or agreed to in writing, software | 10 - Unless required by applicable law or agreed to in writing, software |
(...skipping 2246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2257 document.title = origTitle; | 2257 document.title = origTitle; |
2258 | 2258 |
2259 pass('testTitleProperty'); | 2259 pass('testTitleProperty'); |
2260 }); | 2260 }); |
2261 </script> | 2261 </script> |
2262 | 2262 |
2263 <p id="testWindowObject" class="testcontainer">Test Window Object</p> | 2263 <p id="testWindowObject" class="testcontainer">Test Window Object</p> |
2264 <script type="text/javascript"> | 2264 <script type="text/javascript"> |
2265 var testWindowObjectVariable; | 2265 var testWindowObjectVariable; |
2266 | 2266 |
2267 // Disabled in ES5 mode because we currently cannot implement globals | 2267 jsunitRegister('testWindowObject', |
2268 // properly. | |
2269 jsunitRegisterIf(!inES5Mode, | |
2270 'testWindowObject', | |
2271 function testWindowObject() { | 2268 function testWindowObject() { |
2272 // Check to see that globals are properties of window | 2269 // Check to see that globals are properties of window |
2273 testWindowObjectVariable = 3; | 2270 testWindowObjectVariable = 3; |
2274 assertEquals(testWindowObjectVariable, window.testWindowObjectVariable); | 2271 assertEquals(testWindowObjectVariable, window.testWindowObjectVariable); |
2275 assertEquals(testWindowObjectVariable, 3); | 2272 assertEquals(testWindowObjectVariable, 3); |
2276 pass('testWindowObject'); | 2273 pass('testWindowObject'); |
2277 }); | 2274 }); |
2278 </script> | 2275 </script> |
2279 | 2276 |
2280 <p id="testAttributeNodes" class="testcontainer"> | 2277 <p id="testAttributeNodes" class="testcontainer"> |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3048 assertEquals('parent is not body', lastest.parentNode, body); | 3045 assertEquals('parent is not body', lastest.parentNode, body); |
3049 pass('testDocumentBodyAppendChild'); | 3046 pass('testDocumentBodyAppendChild'); |
3050 }); | 3047 }); |
3051 </script> | 3048 </script> |
3052 | 3049 |
3053 <script type="text/javascript"> | 3050 <script type="text/javascript"> |
3054 // jsunitRun('testPropertyAttributeInteraction'); | 3051 // jsunitRun('testPropertyAttributeInteraction'); |
3055 </script> | 3052 </script> |
3056 | 3053 |
3057 </body> | 3054 </body> |
LEFT | RIGHT |