Closed Bug 1694786 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27767 - Avoid calling AssignedSlot() on pseudo-elements

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Mason Freed <masonfreed@chromium.org>' wrote:

Avoid calling AssignedSlot() on pseudo-elements

The repro from [1] causes a scrollevent to be fired on a pseudo-element
inside a shadow tree, which caused a DCHECK at [2]. This CL avoids
that path.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1180286#c5

Fixed: 1180286
Change-Id: I28f95d2fa5ad74da9a402a4409f972bab04aec6a
Reviewed-on: https://chromium-review.googlesource.com/2718566
WPT-Export-Revision: 93d0bff363bf281e69affec7abc6010746a721d5

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c014aa38e061
[wpt PR 27767] - Avoid calling AssignedSlot() on pseudo-elements, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.