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

Unified Diff: LayoutTests/fast/xpath/invalid-resolver.html

Issue 983123003: Add [TypeChecking=Interface] to XPath interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: revert test change; no longer needed 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/invalid-resolver.html
diff --git a/LayoutTests/fast/xpath/invalid-resolver.html b/LayoutTests/fast/xpath/invalid-resolver.html
index 94d7581244e39654d6ea3cab5fa958e6114f1dd1..2c9b9f889970ba0123b7893d12cd700c451425ce 100644
--- a/LayoutTests/fast/xpath/invalid-resolver.html
+++ b/LayoutTests/fast/xpath/invalid-resolver.html
@@ -7,8 +7,8 @@
<div id="console"></div>
<script>
- shouldThrow("document.evaluate('/body', document, 5, 0, null)", '"TypeError: Failed to execute \'evaluate\' on \'Document\': The 3rd argument provided is either null, or an invalid XPathNSResolver object."');
- shouldThrow("document.evaluate('/body', document, 'a resolver', 0, null)", '"TypeError: Failed to execute \'evaluate\' on \'Document\': The 3rd argument provided is either null, or an invalid XPathNSResolver object."');
+ shouldThrow("document.evaluate('/body', document, 5, 0, null)");
+ shouldThrow("document.evaluate('/body', document, 'a resolver', 0, null)");
shouldBe("document.evaluate('/body', document, Date, 0, null).toString()", '"[object XPathResult]"');
</script>
</body>
« no previous file with comments | « LayoutTests/fast/xpath/evaluator-exceptions-expected.txt ('k') | LayoutTests/fast/xpath/invalid-resolver-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698