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

Side by Side 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 unified diff | Download patch
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 SyntaxError: Failed to execute 'createExpression' on 'XP athExpression': The string 'position(1)' is not a valid XPath expression.. 3 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..
4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null ) threw exception SyntaxError: Failed to execute 'createExpression' on 'XPathExp ression': The string 'not()' is not a valid XPath expression.. 4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null ) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': The s tring 'not()' is not a valid XPath expression..
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 SyntaxError: Failed to execute 'evaluate' on 'XPathExpres sion': Type conversion failed while evaluating the expression.. 6 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..
7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE , null) threw exception SyntaxError: Failed to execute 'createExpression' on 'XP athExpression': The string 'adumbrate()' is not a valid XPath expression.. 7 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..
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 SyntaxError: Failed to execute 'evaluate' on 'XPathExpre ssion': Type conversion failed while evaluating the expression.. 9 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..
10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen t, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to exec ute 'createExpression' on 'XPathExpression': The string '/doc/(item[@id = 2] | i tem[@id = 6])/@id' is not a valid XPath expression.. 10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen t, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to exec ute 'evaluate' on 'Document': The string '/doc/(item[@id = 2] | item[@id = 6])/@ id' is not a valid XPath expression..
11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY _TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPath Expression': Type conversion failed while evaluating the expression.. 11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY _TYPE, null) threw exception SyntaxError: Failed to execute 'evaluate' on 'Docum ent': Type conversion failed while evaluating the expression..
12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X PathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'creat eExpression' on 'XPathExpression': The string '/doc/string(item[@id = 2])/@id' i s not a valid XPath expression.. 12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X PathResult.ANY_TYPE, null) threw exception SyntaxError: Failed to execute 'evalu ate' on 'Document': The string '/doc/string(item[@id = 2])/@id' is not a valid X Path expression..
13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul l) threw exception SyntaxError: Failed to execute 'evaluate' on 'XPathExpression ': Type conversion failed while evaluating the expression.. 13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul l) threw exception SyntaxError: Failed to execute 'evaluate' on 'Document': Type conversion failed while evaluating the expression..
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