Closed
Bug 1436295
Opened 7 years ago
Closed 7 years ago
Hits warning assertion The offset is out of bounds: '!mParent || mOffset.value() <= mParent->Length()' EditorDOMPoint.h, line 373 in HTMLEditRules::WillInsertBreak()
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
> GECKO(80644) | [Child 14372, Main Thread] ###!!! ASSERTION: The offset is out of bounds: '!mParent || mOffset.value() <= mParent->Length()', file c:\mozilla\fx64-dbg\dist\include\mozilla/EditorDOMPoint.h, line 373
> GECKO(80644) | #01: mozilla::HTMLEditRules::WillInsertBreak (c:\mozilla\src\editor\libeditor\htmleditrules.cpp:1793)
> GECKO(80644) | #02: mozilla::HTMLEditRules::WillDoAction (c:\mozilla\src\editor\libeditor\htmleditrules.cpp:639)
> GECKO(80644) | #03: mozilla::TextEditor::InsertLineBreak (c:\mozilla\src\editor\libeditor\texteditor.cpp:746)
> GECKO(80644) | #04: mozilla::TextEditor::TypedText (c:\mozilla\src\editor\libeditor\texteditor.cpp:408)
> GECKO(80644) | #05: mozilla::HTMLEditor::TypedText (c:\mozilla\src\editor\libeditor\htmleditor.cpp:958)
> GECKO(80644) | #06: mozilla::HTMLEditor::HandleKeyPressEvent (c:\mozilla\src\editor\libeditor\htmleditor.cpp:681)
> GECKO(80644) | #07: mozilla::EditorEventListener::KeyPress (c:\mozilla\src\editor\libeditor\editoreventlistener.cpp:608)
Assignee | ||
Comment 2•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8949284 [details]
Bug 1436295 - HTMLEditRules::WillInsertBreak() should cancel resetting EditorDOMPoint when HTMLEditRules::ReturnInParagraph() splits DOM node around the point
https://reviewboard.mozilla.org/r/218660/#review224702
Attachment #8949284 -
Flags: review?(m_kato) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/e05678d156d9
HTMLEditRules::WillInsertBreak() should cancel resetting EditorDOMPoint when HTMLEditRules::ReturnInParagraph() splits DOM node around the point r=m_kato
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•