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

Unified Diff: LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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/py-dom-xpath/expressions-expected.txt
diff --git a/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt b/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt
index e4a94609518485de0083eeed36ca6efc5a5af9cf..1c4abbc804775d319c70250a7162db0f98bcebdb 100644
--- a/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt
+++ b/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt
@@ -1,16 +1,16 @@
PASS //item[@id >= 2 and @id <= "4"]
PASS //item[@id >= 2 and @id <= 3]
-PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExpression': The string 'position(1)' is not a valid XPath expression..
-PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExpression': The string 'not()' is not a valid XPath expression..
+PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The string 'position(1)' is not a valid XPath expression..
+PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The string 'not()' is not a valid XPath expression..
PASS string-length(100)
-PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPathExpression': Type conversion failed while evaluating the expression..
-PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExpression': The string 'adumbrate()' is not a valid XPath expression..
+PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression..
+PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The string 'adumbrate()' is not a valid XPath expression..
PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0]
-PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPathExpression': Type conversion failed while evaluating the expression..
-PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExpression': The string '/doc/(item[@id = 2] | item[@id = 6])/@id' is not a valid XPath expression..
-PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPathExpression': Type conversion failed while evaluating the expression..
-PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExpression': The string '/doc/string(item[@id = 2])/@id' is not a valid XPath expression..
-PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPathExpression': Type conversion failed while evaluating the expression..
+PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression..
+PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The string '/doc/(item[@id = 2] | item[@id = 6])/@id' is not a valid XPath expression..
+PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression..
+PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The string '/doc/string(item[@id = 2])/@id' is not a valid XPath expression..
+PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression..
PASS (1)
PASS ((1 + 1))
PASS 1 or 1
« no previous file with comments | « LayoutTests/fast/xpath/invalid-functions-expected.txt ('k') | LayoutTests/fast/xpath/py-dom-xpath/nodetests-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698