| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 function runTests() { | 4 function runTests() { |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 | 7 |
| 8 document.evaluate("//a[@id='']",document) | 8 document.evaluate("//a[@id='']", document); |
| 9 } | 9 } |
| 10 </script> | 10 </script> |
| 11 </head> | 11 </head> |
| 12 <body onload="runTests()"> | 12 <body onload="runTests()"> |
| 13 This tests that parsing an XPath expression that contains an empty string li
teral doesn't segfault.<br> | 13 This tests that parsing an XPath expression that contains an empty string li
teral doesn't segfault.<br> |
| 14 SUCCESS: Didn't crash! | 14 SUCCESS: Didn't crash! |
| 15 | |
| 16 </body> | 15 </body> |
| 17 </html> | 16 </html> |
| OLD | NEW |