Closed
Bug 1514511
Opened 6 years ago
Closed 6 years ago
Crash in FlushPendingNotifications from nsTextInputSelectionImpl::ScrollSelectionIntoView
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
Assignee | ||
Comment 1•6 years ago
|
||
Flushing just the shell is not quite sound, since it doesn't flush parent
documents, and also has the side effect of ensuring the shell is not destroying
and the document is not in the bfcache.
Assignee | ||
Comment 2•6 years ago
|
||
I think this is slightly better fix given the amount of offenders we have that
don't make sure this is the case.
Generally we get through the flush just fine, but there's code that relies on
nsIDocument::GetShell to return something meaningful, like the styleset code
that gets a pres context.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → emilio
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/da799f611f33
Flush the document, not the shell, in Selection::ScrollIntoView. r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/8f22c3daa581
Don't flush if the document is in the bfcache. r=bzbarsky
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/da799f611f33
https://hg.mozilla.org/mozilla-central/rev/8f22c3daa581
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•