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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 PASS //item[@id >= 2 and @id <= "4"] 1 PASS //item[@id >= 2 and @id <= "4"]
2 PASS //item[@id >= 2 and @id <= 3] 2 PASS //item[@id >= 2 and @id <= 3]
3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax erro r or otherwise is not a legal expression according to the rules of the specific XPathEvaluator..
4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null ) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null ) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or o therwise is not a legal expression according to the rules of the specific XPathE valuator..
5 PASS string-length(100) 5 PASS string-length(100)
6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or otherwise is not a legal expression according to the rules of the specific X PathEvaluator..
7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax erro r or otherwise is not a legal expression according to the rules of the specific XPathEvaluator..
8 PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0] 8 PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0]
9 PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 9 PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax erro r or otherwise is not a legal expression according to the rules of the specific XPathEvaluator..
10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen t, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_E RR: DOM XPath Exception 51. 10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen t, null, XPathResult.ANY_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or otherwise is not a legal expression according to the rules of the specific XPathEvaluator..
11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY _TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY _TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or otherwise is not a legal expression according to the rules of the spec ific XPathEvaluator..
12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X PathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XP ath Exception 51. 12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X PathResult.ANY_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expressio n had a syntax error or otherwise is not a legal expression according to the rul es of the specific XPathEvaluator..
13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul l) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. 13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul l) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or otherwise is not a legal expression according to the rules of the specific XPath Evaluator..
14 PASS (1) 14 PASS (1)
15 PASS ((1 + 1)) 15 PASS ((1 + 1))
16 PASS 1 or 1 16 PASS 1 or 1
17 PASS 1 or 0 17 PASS 1 or 0
18 PASS 0 or 1 18 PASS 0 or 1
19 PASS 0 or 0 19 PASS 0 or 0
20 PASS 1 and 1 20 PASS 1 and 1
21 PASS 1 and 0 21 PASS 1 and 0
22 PASS 0 and 1 22 PASS 0 and 1
23 PASS 0 and 0 23 PASS 0 and 0
(...skipping 30 matching lines...) Expand all
54 PASS 1 < 2 54 PASS 1 < 2
55 PASS 1 < 1 55 PASS 1 < 1
56 PASS 1 >= 1 56 PASS 1 >= 1
57 PASS 1 >= 2 57 PASS 1 >= 2
58 PASS 2 > 1 58 PASS 2 > 1
59 PASS 1 > 1 59 PASS 1 > 1
60 PASS successfullyParsed is true 60 PASS successfullyParsed is true
61 61
62 TEST COMPLETE 62 TEST COMPLETE
63 63
OLDNEW
« 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