Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: LayoutTests/fast/xpath/xpath-empty-string.html

Issue 983123003: Add [TypeChecking=Interface] to XPath interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix CG for any/object argument with default value Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698