Closed
Bug 1536351
Opened 6 years ago
Closed 6 years ago
PresShell::EventHandler::HandleEvent() should push current event target info before it calls HandleEventWithCurrentEventInfo()
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
Oddly, when PresShell::EventHandler::HandleEvent()
sets mPresShell->mCurrentEventFrame
to nullptr before HandleEventWithCurrentEventInfo()
without pushing event target info when there is no event target frame and the event does not require it.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Oddly, when there is no frame and the handling event does not require a frame,
PresShell::EventHandler::HandleEvent()
just clears
mPresShell->mCurrentEventFrame
with nullptr before calling
HandleEventWithCurrentEventInfo()
. This means that if event handler is
nested, old mPresShell->mCurrentEventContent
is reused and
mPresShell->mCurrentEventFrame
is forgotten. Therefore, it should push
nullptr as current event info instead.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/329f1d3e2e5a
Make PresShell::EventHandler::HandleEvent() push current event info as nullptr before calling HandleEventWithCurrentEventInfo() r=smaug
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•