| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
| 3 <script> | 3 <script> |
| 4 | 4 |
| 5 if (typeof testRunner !== 'undefined') | 5 if (typeof testRunner !== 'undefined') |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 | 7 |
| 8 // ES6 polyfill | 8 // ES6 polyfill |
| 9 if (!String.prototype.contains) { | 9 if (!String.prototype.contains) { |
| 10 String.prototype.contains = function(substring) { | 10 String.prototype.contains = function(substring) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 shouldBeEqualToString('e.name', 'HierarchyRequestError'); | 39 shouldBeEqualToString('e.name', 'HierarchyRequestError'); |
| 40 shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'Node': T
he new child element contains the parent."); | 40 shouldBeEqualToString("e.message", "Failed to execute 'appendChild' on 'Node': T
he new child element contains the parent."); |
| 41 shouldBe('e.code', '3'); | 41 shouldBe('e.code', '3'); |
| 42 | 42 |
| 43 e.stack = 42; | 43 e.stack = 42; |
| 44 // Don't use shouldBe because the FAIL case still happens on JSC and we don't wa
nt the output | 44 // Don't use shouldBe because the FAIL case still happens on JSC and we don't wa
nt the output |
| 45 // to depend on the path. | 45 // to depend on the path. |
| 46 shouldBeTrue('e.stack === 42'); | 46 shouldBeTrue('e.stack === 42'); |
| 47 | 47 |
| 48 </script> | 48 </script> |
| 49 <script src="../../js/resources/js-test-post.js"></script> | |
| OLD | NEW |