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> |