| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 Found 89 tests; 84 PASS, 5 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| 3 PASS XPathEvaluator interface: existence and properties of interface object |
| 4 PASS XPathEvaluator interface object length |
| 5 PASS XPathEvaluator interface object name |
| 6 FAIL XPathEvaluator interface: existence and properties of interface prototype o
bject assert_equals: class string of XPathEvaluator.prototype expected "[object
XPathEvaluatorPrototype]" but got "[object XPathEvaluator]" |
| 7 PASS XPathEvaluator interface: existence and properties of interface prototype o
bject's "constructor" property |
| 8 PASS XPathEvaluator interface: operation createExpression(DOMString,XPathNSResol
ver) |
| 9 PASS XPathEvaluator interface: operation createNSResolver(Node) |
| 10 PASS XPathEvaluator interface: operation evaluate(DOMString,Node,XPathNSResolver
,unsigned short,object) |
| 11 PASS XPathExpression interface: existence and properties of interface object |
| 12 PASS XPathExpression interface object length |
| 13 PASS XPathExpression interface object name |
| 14 FAIL XPathExpression interface: existence and properties of interface prototype
object assert_equals: class string of XPathExpression.prototype expected "[objec
t XPathExpressionPrototype]" but got "[object XPathExpression]" |
| 15 PASS XPathExpression interface: existence and properties of interface prototype
object's "constructor" property |
| 16 PASS XPathExpression interface: operation evaluate(Node,unsigned short,object) |
| 17 PASS XPathExpression must be primary interface of expression |
| 18 PASS Stringification of expression |
| 19 PASS XPathExpression interface: expression must inherit property "evaluate" with
the proper type (0) |
| 20 PASS XPathExpression interface: calling evaluate(Node,unsigned short,object) on
expression with too few arguments must throw TypeError |
| 21 PASS XPathNSResolver interface: existence and properties of interface object |
| 22 PASS XPathNSResolver interface: existence and properties of interface prototype
object |
| 23 PASS XPathNSResolver interface: existence and properties of interface prototype
object's "constructor" property |
| 24 PASS XPathNSResolver interface: operation lookupNamespaceURI(DOMString) |
| 25 PASS XPathResult interface: existence and properties of interface object |
| 26 PASS XPathResult interface object length |
| 27 PASS XPathResult interface object name |
| 28 FAIL XPathResult interface: existence and properties of interface prototype obje
ct assert_equals: class string of XPathResult.prototype expected "[object XPathR
esultPrototype]" but got "[object XPathResult]" |
| 29 PASS XPathResult interface: existence and properties of interface prototype obje
ct's "constructor" property |
| 30 PASS XPathResult interface: constant ANY_TYPE on interface object |
| 31 PASS XPathResult interface: constant ANY_TYPE on interface prototype object |
| 32 PASS XPathResult interface: constant NUMBER_TYPE on interface object |
| 33 PASS XPathResult interface: constant NUMBER_TYPE on interface prototype object |
| 34 PASS XPathResult interface: constant STRING_TYPE on interface object |
| 35 PASS XPathResult interface: constant STRING_TYPE on interface prototype object |
| 36 PASS XPathResult interface: constant BOOLEAN_TYPE on interface object |
| 37 PASS XPathResult interface: constant BOOLEAN_TYPE on interface prototype object |
| 38 PASS XPathResult interface: constant UNORDERED_NODE_ITERATOR_TYPE on interface o
bject |
| 39 PASS XPathResult interface: constant UNORDERED_NODE_ITERATOR_TYPE on interface p
rototype object |
| 40 PASS XPathResult interface: constant ORDERED_NODE_ITERATOR_TYPE on interface obj
ect |
| 41 PASS XPathResult interface: constant ORDERED_NODE_ITERATOR_TYPE on interface pro
totype object |
| 42 PASS XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface o
bject |
| 43 PASS XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface p
rototype object |
| 44 PASS XPathResult interface: constant ORDERED_NODE_SNAPSHOT_TYPE on interface obj
ect |
| 45 PASS XPathResult interface: constant ORDERED_NODE_SNAPSHOT_TYPE on interface pro
totype object |
| 46 PASS XPathResult interface: constant ANY_UNORDERED_NODE_TYPE on interface object
|
| 47 PASS XPathResult interface: constant ANY_UNORDERED_NODE_TYPE on interface protot
ype object |
| 48 PASS XPathResult interface: constant FIRST_ORDERED_NODE_TYPE on interface object
|
| 49 PASS XPathResult interface: constant FIRST_ORDERED_NODE_TYPE on interface protot
ype object |
| 50 PASS XPathResult interface: attribute resultType |
| 51 PASS XPathResult interface: attribute numberValue |
| 52 PASS XPathResult interface: attribute stringValue |
| 53 PASS XPathResult interface: attribute booleanValue |
| 54 PASS XPathResult interface: attribute singleNodeValue |
| 55 PASS XPathResult interface: attribute invalidIteratorState |
| 56 PASS XPathResult interface: attribute snapshotLength |
| 57 PASS XPathResult interface: operation iterateNext() |
| 58 PASS XPathResult interface: operation snapshotItem(unsigned long) |
| 59 PASS XPathResult must be primary interface of result |
| 60 PASS Stringification of result |
| 61 PASS XPathResult interface: result must inherit property "ANY_TYPE" with the pro
per type (0) |
| 62 PASS XPathResult interface: result must inherit property "NUMBER_TYPE" with the
proper type (1) |
| 63 PASS XPathResult interface: result must inherit property "STRING_TYPE" with the
proper type (2) |
| 64 PASS XPathResult interface: result must inherit property "BOOLEAN_TYPE" with the
proper type (3) |
| 65 PASS XPathResult interface: result must inherit property "UNORDERED_NODE_ITERATO
R_TYPE" with the proper type (4) |
| 66 PASS XPathResult interface: result must inherit property "ORDERED_NODE_ITERATOR_
TYPE" with the proper type (5) |
| 67 PASS XPathResult interface: result must inherit property "UNORDERED_NODE_SNAPSHO
T_TYPE" with the proper type (6) |
| 68 PASS XPathResult interface: result must inherit property "ORDERED_NODE_SNAPSHOT_
TYPE" with the proper type (7) |
| 69 PASS XPathResult interface: result must inherit property "ANY_UNORDERED_NODE_TYP
E" with the proper type (8) |
| 70 PASS XPathResult interface: result must inherit property "FIRST_ORDERED_NODE_TYP
E" with the proper type (9) |
| 71 PASS XPathResult interface: result must inherit property "resultType" with the p
roper type (10) |
| 72 PASS XPathResult interface: result must inherit property "numberValue" with the
proper type (11) |
| 73 PASS XPathResult interface: result must inherit property "stringValue" with the
proper type (12) |
| 74 PASS XPathResult interface: result must inherit property "booleanValue" with the
proper type (13) |
| 75 PASS XPathResult interface: result must inherit property "singleNodeValue" with
the proper type (14) |
| 76 PASS XPathResult interface: result must inherit property "invalidIteratorState"
with the proper type (15) |
| 77 PASS XPathResult interface: result must inherit property "snapshotLength" with t
he proper type (16) |
| 78 PASS XPathResult interface: result must inherit property "iterateNext" with the
proper type (17) |
| 79 PASS XPathResult interface: result must inherit property "snapshotItem" with the
proper type (18) |
| 80 PASS XPathResult interface: calling snapshotItem(unsigned long) on result with t
oo few arguments must throw TypeError |
| 81 PASS Document interface: operation createExpression(DOMString,XPathNSResolver) |
| 82 PASS Document interface: operation createNSResolver(Node) |
| 83 PASS Document interface: operation evaluate(DOMString,Node,XPathNSResolver,unsig
ned short,object) |
| 84 FAIL Document must be primary interface of document assert_equals: document's pr
ototype is not Document.prototype expected object "[object Document]" but got ob
ject "[object HTMLDocument]" |
| 85 FAIL Stringification of document assert_equals: class string of document expecte
d "[object Document]" but got "[object HTMLDocument]" |
| 86 PASS Document interface: document must inherit property "createExpression" with
the proper type (0) |
| 87 PASS Document interface: calling createExpression(DOMString,XPathNSResolver) on
document with too few arguments must throw TypeError |
| 88 PASS Document interface: document must inherit property "createNSResolver" with
the proper type (1) |
| 89 PASS Document interface: calling createNSResolver(Node) on document with too few
arguments must throw TypeError |
| 90 PASS Document interface: document must inherit property "evaluate" with the prop
er type (2) |
| 91 PASS Document interface: calling evaluate(DOMString,Node,XPathNSResolver,unsigne
d short,object) on document with too few arguments must throw TypeError |
| 92 Harness: the test ran to completion. |
| 93 |
| OLD | NEW |