Closed
Bug 1625755
Opened 4 years ago
Closed 4 years ago
crash @ mozilla::HTMLEditor::DoInsertHTMLWithContext
Categories
(Core :: DOM: Editor, defect, P2)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla76
People
(Reporter: wsmwk, Assigned: masayuki)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1582215 +++
Bug #1582215 - fixed in Firefox 68.3esr and 71, had a big impact, but some crashes remain [1]. No testcase in this report, just drawing information from crash-stats:
- Firefox 73.0.1 bp-c125f9cd-2845-41df-9866-65c3f0200327
- Firefox 68.5.0esr bp-cd7d578d-3a7f-491b-9603-b50980200324
- Thunderbird 68.6.0 bp-60af8c35-468f-4394-9251-1cf180200326
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•4 years ago
|
||
I'm still not sure how the crash occurs especially on Thunderbird. However,
it could be possible if pointToInsert
is modified with an orphan node (i.e.,
when pointToInsert.GetContainer()
returns nullptr
). Therefore, this patch
makes it check whether the inserted node stays at expected position or not,
and if it's not, make it keep inserting next content nodes to previous position
because it must look like odd that inserting to different position.
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/2839bb5efce7 Make `HTMLEditor::DoInsertHTMLWithContext()` check whether inserted content stays at expected point before modifying next insertion point r=m_kato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22668 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Upstream PR merged by moz-wptsync-bot
Updated•4 years ago
|
status-firefox74:
--- → wontfix
status-firefox75:
--- → wontfix
status-firefox-esr68:
--- → wontfix
Flags: in-testsuite+
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•