Mypal/testing/web-platform/meta/dom/nodes/rootNode.html.ini

16 lines
523 B
INI

[rootNode.html]
type: testharness
prefs: [dom.node.rootNode.enabled:true]
[getRootNode() must return the context object when it does not have any parent]
expected: FAIL
[getRootNode() must return the parent node of the context object when the context object has a single ancestor not in a document]
expected: FAIL
[getRootNode() must return the document when a node is in document]
expected: FAIL
[getRootNode() must return a document fragment when a node is in the fragment]
expected: FAIL