mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Merge pull request #3253 from ChrisParis/TreeWalker
Implement TreeWalker
This commit is contained in:
commit
6d6726178a
10 changed files with 603 additions and 71 deletions
|
@ -171,12 +171,6 @@
|
|||
[Document interface: calling createNodeIterator(Node,unsigned long,NodeFilter) on xmlDoc with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "createTreeWalker" with the proper type (23)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: calling createTreeWalker(Node,unsigned long,NodeFilter) on xmlDoc with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "firstElementChild" with the proper type (26)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -945,39 +939,6 @@
|
|||
[NodeIterator interface: document.createNodeIterator(document.body, NodeFilter.SHOW_ALL, null, false) must inherit property "detach" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: attribute root]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: attribute whatToShow]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: attribute filter]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: attribute currentNode]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation parentNode()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation firstChild()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation lastChild()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation previousSibling()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation nextSibling()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation previousNode()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker interface: operation nextNode()]
|
||||
expected: FAIL
|
||||
|
||||
[TreeWalker must be primary interface of document.createTreeWalker(document.body, NodeFilter.SHOW_ALL, null, false)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[Document-createTreeWalker.html]
|
||||
type: testharness
|
||||
[Optional arguments to createTreeWalker should be optional (1 passed).]
|
||||
expected: FAIL
|
||||
|
||||
[Optional arguments to createTreeWalker should be optional (2 passed).]
|
||||
expected: FAIL
|
||||
|
||||
[Optional arguments to createTreeWalker should be optional (3 passed, null).]
|
||||
expected: FAIL
|
||||
|
||||
[Optional arguments to createTreeWalker should be optional (3 passed, function).]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[TreeWalker-acceptNode-filter.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,5 @@
|
|||
[TreeWalker-basic.html]
|
||||
type: testharness
|
||||
|
||||
[Construct a TreeWalker by document.createTreeWalker(root, undefined, undefined).]
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[TreeWalker-navigate-from-filter.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue