Chromium Code Reviews| Index: LayoutTests/fast/xpath/xpath-empty-string.html |
| diff --git a/LayoutTests/fast/xpath/xpath-empty-string.html b/LayoutTests/fast/xpath/xpath-empty-string.html |
| index b122b150ab6f9575e032abbb813d9f7a0ef90b51..1e0cf3b21c1e75964f817c96f3338ba73f0b7fe5 100644 |
| --- a/LayoutTests/fast/xpath/xpath-empty-string.html |
| +++ b/LayoutTests/fast/xpath/xpath-empty-string.html |
| @@ -4,14 +4,13 @@ |
| function runTests() { |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| - |
| - document.evaluate("//a[@id='']",document) |
| + |
| + document.evaluate("//a[@id='']", document, null, XPathResult.ANY_TYPE, 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.
|
| } |
| </script> |
| </head> |
| <body onload="runTests()"> |
| This tests that parsing an XPath expression that contains an empty string literal doesn't segfault.<br> |
| SUCCESS: Didn't crash! |
| - |
| </body> |
| -</html> |
| +</html> |