NodeIterator-removal.html
Details
- Test
/dom/traversal/NodeIterator-removal.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Test removing node paras[0] |
| PASS | Test removing node paras[0].firstChild |
| PASS | Test removing node paras[1].firstChild |
| PASS | Test removing node paras[5].firstChild |
| PASS | Test removing node foreignPara1 |
| PASS | Test removing node foreignPara1.firstChild |
| PASS | Test removing node detachedPara1 |
| PASS | Test removing node detachedPara1.firstChild |
| PASS | Test removing node foreignPara2 |
| FAIL | Test removing node xmlElement assert_equals: .referenceNode of document.createNodeIterator(xmlDoc) advanced 3 times expected DocumentType node but got Document node with 3 children |
| PASS | Test removing node foreignTextNode |
| FAIL | Test removing node processingInstruction assert_equals: .referenceNode of document.createNodeIterator(xmlDoc) advanced 3 times expected DocumentType node but got Document node with 2 children |
| PASS | Test removing node comment |
| FAIL | Test removing node doctype removeChild: child is not a child of parent |
| FAIL | Test removing node foreignDoctype assert_equals: .referenceNode of document.createNodeIterator(foreignDoc) advanced 2 times expected Document node with 2 children but got DocumentType node |
| PASS | Test removing node paras[1] |
| PASS | Test removing node detachedPara2 |
| PASS | Test removing node detachedPara2.firstChild |
| PASS | Test removing node testDiv |
| PASS | Test removing node xmlTextNode |
| FAIL | Test removing node xmlComment assert_equals: .referenceNode of document.createNodeIterator(xmlDoc) advanced 3 times expected DocumentType node but got Document node with 1 child |
| FAIL | Test removing node foreignComment assert_equals: .referenceNode of document.createNodeIterator(foreignDoc) advanced 12 times expected Text node "I admit that I harbor doubts about whether we really need..." but got Document node with … |
| FAIL | Test removing node xmlDoctype assert_equals: .referenceNode of document.createNodeIterator(xmlDoc) advanced 2 times expected Document node with 0 children but got DocumentType node |
| PASS | Removing an inclusive ancestor of reference, pointer before reference is true, with a following node within root |
| PASS | Removing an inclusive ancestor of reference, pointer before reference is true, with no following node within root |