| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <p id="description"></p> | 6 <p id="description"></p> |
| 7 <div id='div1'>text1</div> | 7 <div id='div1'>text1</div> |
| 8 <div id='div2'>text2</div><br> | 8 <div id='div2'>text2</div><br> |
| 9 | 9 |
| 10 <div id="console"></div> | 10 <div id="console"></div> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // be converted to 0, so should be undefined, and the item at index | 23 // be converted to 0, so should be undefined, and the item at index |
| 24 // 1 should be defined (since there are at least two divs on the page), | 24 // 1 should be defined (since there are at least two divs on the page), |
| 25 // but should be a different div to the one at index 0. | 25 // but should be a different div to the one at index 0. |
| 26 shouldBeTrue("div0 == div0s"); | 26 shouldBeTrue("div0 == div0s"); |
| 27 shouldBeFalse("div0 == div0s_"); | 27 shouldBeFalse("div0 == div0s_"); |
| 28 shouldBeFalse("div0 == div1"); | 28 shouldBeFalse("div0 == div1"); |
| 29 shouldBeFalse("div0s == div0s_"); | 29 shouldBeFalse("div0s == div0s_"); |
| 30 shouldBeFalse("div0s == div1"); | 30 shouldBeFalse("div0s == div1"); |
| 31 shouldBeFalse("div0s_ == div1"); | 31 shouldBeFalse("div0s_ == div1"); |
| 32 </script> | 32 </script> |
| 33 <script src="../../js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |