Closed Bug 1579783 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18922 - Remove dcheck for connected-ness in shadowRoot.elementsFromPoint

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18922 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18922
Details from upstream follow.

Rakina Zata Amni <rakina@chromium.org> wrote:

Remove dcheck for connected-ness in shadowRoot.elementsFromPoint

This causes failing dchecks if we call on an unconnected shadowroot,
which turns out to be allowed!

Bug: 999874
Change-Id: Iecaa3786817cacaf4ffb02809c44a0c104fcdb6e
Reviewed-on: https://chromium-review.googlesource.com/1792203
WPT-Export-Revision: 1a2f9a85c5097f5a0c87fc7385b68ca3054d0903

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Ran 1 tests and 41 subtests
OK     : 1
PASS   : 6
FAIL   : 35

New tests that have failures or other problems:
/shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html
    elementsFromPoint should return all elements under a point, even when context object is not connected: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f81db294f971
[wpt PR 18922] - Remove dcheck for connected-ness in shadowRoot.elementsFromPoint, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2b30176c31b
[wpt PR 18922] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.