51.5shadow-dom/leaktests/
14 / 16 WPT subtests passing
- Failed
- 2
- Timed out
- 0
- Not run
- 0
- Test files
- 4
- Blocking files
- 0
Chrome 15 / 16 WPT subtests passing on the same files, none blocking
Tests
4 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
get-elements.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- getElementsById() should not leak nodes in shadow tree
- getElementsByClassName() should not leak nodes in shadow tree
- getElementsByName() should not leak nodes in shadow tree
- getElementsByTagName() should not leak nodes in shadow tree
- getElementsByTagNameNS() should not leak nodes in shadow tree
html-collection.html 8 / 9 passingChrome 8 / 91 failedWith failures
- ¶
FAILdocument.all should not contain shadow nodes
assert_greater_than: document.all should have at least 1 element. expected a number but got a "undefined"
8 passing subtests
- document.scripts should not contain shadow nodes
- document.forms should not contain shadow nodes
- document.images should not contain shadow nodes
- document.links should not contain shadow nodes
- document.anchors should not contain shadow nodes
- document.embeds should not contain shadow nodes
- document.plugins should not contain shadow nodes
- document.applets should not contain any nodes
selection.html 0 / 1 passingChrome 1 / 11 failedExempt
Exempt from the 0.1 gate until a renderer answers geometry
the test drags the pointer across a closed shadow root's text to select it, and a drag selects by hit-testing laid-out text (a caret from a point: Blink SelectionController / PositionForPoint); with no renderer Crane's press places a caret only where no geometry is needed (src/html/selection_focus.zig caretAtHit), so the drag selects nothing and anchorNode stays null - the mouseup reaches the host as in the browsers
- Failing assertion
- assert_equals: getSelection().anchorNode should return the host of the shadow expected Element node <div id="container"><div></div></div> but got null
- ¶
FAILselection API should not leak nodes in Shadow DOM.
assert_equals: getSelection().anchorNode should return the host of the shadow expected Element node <div id="container"><div></div></div> but got null
window-frames.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.frames should not leak frames in Shadow DOM.