Closed
Bug 1759816
Opened 3 years ago
Closed 3 years ago
Too many "WARNING: '!aChild->IsContent()', file m:/fx64-dbg/dist/include\mozilla/EditorDOMPoint.h:534" in test log
Categories
(Core :: DOM: Editor, defect, P5)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
100 Branch
People
(Reporter: masayuki, Assigned: masayuki)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
When I run ./mach mochitest editor/libeditor/tests
, I got 586 instances of the warning.
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1496320
status-firefox100:
--- → affected
status-firefox98:
--- → affected
status-firefox99:
--- → affected
status-firefox-esr91:
--- → affected
Assignee | ||
Comment 2•3 years ago
|
||
When setting a point, the child must be nsIContent
. However, climbing up
the tree from a point with EditorDOMPointBase<PT, CT>
, it may reach top of
the DOM tree (fragment). Then, we'd get a warning which wouldn't hit in
usual cases. Therefore, we should add new API to get parent point of an
EditorDOMPointBase<PT, CT>
instance and it should check properly before
creating new instance.
Depends on D141195
Updated•3 years ago
|
Has Regression Range: --- → yes
Updated•3 years ago
|
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/976339473832
Create `EditorDOMPointBase<PT, CT>::ParentPoint()` for avoiding warning spam caused by no necessary checks r=m_kato
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•