18domxpath/
1,140 / 1,141 WPT subtests passing
- Failed
- 1
- Timed out
- 0
- Not run
- 0
- Test files
- 31
- Blocking files
- 0
Chrome 1,132 / 1,141 WPT subtests passing on the same files, 1 blocking, 2 without a result
Tests
31 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
absolute-location-path-attribute-context.html 4 / 5 passingChrome 0 / 51 failedWith failures
- ¶
FAIL/ selects nothing when the context node is an attribute without an element
assert_array_equals: lengths differ, expected array [] length 0, got [Node object of unknown type] length 1
4 passing subtests
- / selects the document when the context node is an attribute of a connected element
- // searches the document when the context node is an attribute of a connected element
- / selects the same node for an attribute as for its element in a disconnected tree
- / selects the same node for an attribute as for its element in a shadow tree
booleans.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- "or" operator depending on the context node
- "=" operator depending on the context node
- "!=" operator depending on the context node
- "<" operator depending on the context node
- ">" operator depending on the context node
- ">=" operator depending on the context node
- "<=" operator depending on the context node
elements-are-parents-of-their-attributes.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Elements are parents of their attributes
- Attributes are not children of their parents
evaluate-non-node-set-result-type.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- evaluate("string(/)") with UNORDERED_NODE_ITERATOR_TYPE throws TypeError
- evaluate("string(/)") with ORDERED_NODE_ITERATOR_TYPE throws TypeError
- evaluate("string(/)") with UNORDERED_NODE_SNAPSHOT_TYPE throws TypeError
- evaluate("string(/)") with ORDERED_NODE_SNAPSHOT_TYPE throws TypeError
- evaluate("string(/)") with ANY_UNORDERED_NODE_TYPE throws TypeError
- evaluate("string(/)") with FIRST_ORDERED_NODE_TYPE throws TypeError
evaluator-constructor.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Constructor with 'new'
- Constructor without 'new'
fn-concat.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- concat() arguments depending on the context node
fn-contains.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- contains() arguments depending on the context node
fn-id.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- id("test1"): <root><div id="test1">Match</div></root>
- id("test1 test2"): <root><div id="test1">First</div><div id="test2">Second</div></root>
- id("nonexistent"): <root><div id="test1">No match</div></root>
- id("Test1"): <root><div id="test1">No match</div></root>
- id("duplicate"): <root><div id="duplicate">First</div><div id="duplicate">Second</div></root>
- id("test-1"): <root><div id="test-1">Match</div></root>
- id(""): <root><div id="">Empty ID</div></root>
- id(" test1 "): <root><div id="test1">Match</div></root>
fn-lang.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- lang("en"): <root><match xml:lang="en"/></root>
- lang("en"): <root><match xml:lang="EN"/></root>
- lang("en"): <root><match xml:lang="en-us"/></root>
- lang("en"): <root><unmatch/></root>
- lang("ja"): <root xml:lang="ja"><match/></root>
- lang("ja"): <root xml:lang="ja-jp"><unmatch xml:lang="ja_JP"/></root>
- lang("ko"): <root><unmatch xml:lang="Ko"/></root>
fn-normalize-space.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- normalize-space() without arguments
- normalize-space() should handle only #x20, #x9, #xD, and #xA
fn-starts-with.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- starts-with() arguments depending on the context node
fn-substring-after.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- substring-after() arguments depending on the context node
fn-substring-before.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- substring-before() arguments depending on the context node
fn-substring.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- substring() arguments depending on the context node
fn-translate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- translate() arguments depending on the context node
lexical-structure.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Literal: Only ' and " should be handled as literal quotes.
- ExprWhitespace: Only #x20 #x9 #xD or #xA must be handled as a whitespace.
node-set-tree-order.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Temporary node sets created during evaluation must be in tree order
node-sets.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- | operator should evaluate both sides of expressions with the same context node
numbers.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- "+" operator depending on the context node
- "-" operator depending on the context node
- "*" operator depending on the context node
- "div" operator depending on the context node
- "mod" operator depending on the context node
predicates.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An expression in a predicate should not change the context node
resolver-callback-interface.html 10 / 10 passingChrome 8 / 100 failedClean
10 passing subtests
- callable resolver
- callable resolver: result is not cached
- callable resolver: abrupt completion from Call
- callable resolver: no 'lookupNamespaceURI' lookups
- object resolver
- object resolver: this value and `prefix` argument
- object resolver: 'lookupNamespaceURI' is not cached
- object resolver: abrupt completion from Get
- object resolver: 'lookupNamespaceURI' is thruthy and not callable
- object resolver: 'lookupNamespaceURI' is falsy and not callable
resolver-non-string-result.html 6 / 6 passingChrome 4 / 60 failedClean
6 passing subtests
- undefined
- null
- number
- boolean
- symbol
- object coercion (abrupt completion)
result-iterateNext.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Using an ordered iterator without modifying the dom should yield the expected elements in correct order without errors.
- Using an unordered iterator without modifying the dom should yield the correct number of elements without errors.
- invalidIteratorState should be false for non-iterable results.
- Calling iterateNext on a non-iterable XPathResult should throw a TypeError.
- Calling iterateNext on a non-iterable XPathResult after modifying the DOM should throw a TypeError.
- Calling iterateNext after having modified the DOM should throw an exception.
- Calling iterateNext after having modified the DOM should throw an exception even if the iterator is exhausted.
text-html-attributes.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- Select html element based on attribute
- Select html element based on attribute mixed case
- Select both HTML and SVG elements based on attribute
- Select HTML element with non-ascii attribute 1
- Select HTML element with non-ascii attribute 2
- Select HTML element with non-ascii attribute 3
- Select SVG element based on mixed case attribute
- Select both HTML and SVG elements based on mixed case attribute
- Select SVG elements with refX attribute
- Select SVG elements with refX attribute incorrect case
- Select SVG elements with refX attribute lowercase
- Select SVG element with non-ascii attribute 1
- Select SVG element with non-ascii attribute 2
- xmlns attribute
- svg element with XLink attribute
text-html-elements.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- HTML elements no namespace prefix
- HTML elements namespace prefix
- HTML elements mixed use of prefix
- SVG elements no namespace prefix
- SVG elements namespace prefix
- HTML elements mixed case
- SVG elements mixed case selector
- Non-ascii HTML element
- Non-ascii HTML element2
- Non-ascii HTML element3
- Throw with invalid prefix
variables-in-expression-crash.html none reportedChrome —0 failedClean
/domxpath/variables-in-expression-crash.html PASS none reported
No subtests were reported.
xml_xpath_runner.html 1,024 / 1,024 passingChrome 1,024 / 1,0240 failedClean
1,024 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.
xpath-evaluate-crash.html none reportedChrome —0 failedClean
/domxpath/xpath-evaluate-crash.html PASS none reported
No subtests were reported.
xpath-shadow-dom.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- XPath //span should find element in Declarative Shadow DOM when evaluated on the element itself
- XPath //span should find element in Imperative Shadow DOM when evaluated on the element itself
xpathevaluatorbase-creatensresolver.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- createNSResolver() should return the specified node as is. (Document)
- createNSResolver() resultant object should not add support of 'xml' prefix. (Document)
- createNSResolver() should return the specified node as is. (XPathEvaluator)
- createNSResolver() resultant object should not add support of 'xml' prefix. (XPathEvaluator)