Closed Bug 1463618 Opened 6 years ago Closed 6 years ago

MOZ_ASSERT(!newEditingHost->IsInNativeAnonymousSubtree()) crash in Selection.cpp

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1384606

People

(Reporter: jchen, Unassigned)

Details

In a document with both input/textarea and contentEditable fields, if `collapseToStart` or `collapseToEnd` is called from JS on the input/textarea's Selection object, this assertion will trigger [1].

[1] https://searchfox.org/mozilla-central/rev/eb51d734a8c06ac5973291be9bcc74ed4e999bca/dom/base/Selection.cpp#3432
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.