Chromium Code Reviews| 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, null, XPathResult.ANY_TYP E, null); |
|
philipj_slow
2015/03/09 08:17:30
This test change shouldn't be needed any longer.
Jens Widell
2015/03/09 11:05:10
True. I've reverted it.
| |
| 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 |