Closed
Bug 1321245
Opened 8 years ago
Closed 8 years ago
Crash when delayed keypress event is dispatched in e10s
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: jessica, Assigned: jessica)
Details
Attachments
(1 file, 2 obsolete files)
|
3.06 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
See bug 1316330 comment 24.
Hitting 'MOZ_ASSERT(mNativeKeyCommandsValid)' in PuppetWidget::ExecuteNativeKeyBinding.
Actually, the same issue was found in Bug 993714, but it was fixed only for synthetic events. By doing the same for delayed events solves the issue. I'll provide a patch and see if it's okay.
Comment 1•8 years ago
|
||
Jessica, I know you are working on this, so assign to you. Thanks for taking this one.
Assignee: nobody → jjong
| Assignee | ||
Comment 2•8 years ago
|
||
Hi Olli, this is for fixing the crash. If the native key bindings list is no longer available when the delayed event is dispatched, we request it again.
Attachment #8816007 -
Flags: review?(bugs)
Comment 3•8 years ago
|
||
Comment on attachment 8816007 [details] [diff] [review]
patch, v1.
So this gives a new meaning to mIsSuppressedOrDelayed. Atm it is set only for events which are suppressed or delayed so that later a new similar event is dispatched. But this sets the flag on those events which will be dispatched afterwards. At least document this new meaning in BasicEvents.h
Attachment #8816007 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #3)
> Comment on attachment 8816007 [details] [diff] [review]
> patch, v1.
>
> So this gives a new meaning to mIsSuppressedOrDelayed. Atm it is set only
> for events which are suppressed or delayed so that later a new similar event
> is dispatched. But this sets the flag on those events which will be
> dispatched afterwards. At least document this new meaning in BasicEvents.h
Right, I will document this in BasicEvents.h. Thanks.
| Assignee | ||
Comment 5•8 years ago
|
||
Added more documentation for mIsSuppressedOrDelayed in BasicEvents.h. Carrying r+.
Attachment #8816007 -
Attachment is obsolete: true
Attachment #8816347 -
Flags: review+
| Assignee | ||
Comment 6•8 years ago
|
||
Keywords: checkin-needed
Comment 7•8 years ago
|
||
needs rebasing
applying bug-132145-crash-nativekeybindings.patch
unable to find 'layout/base/nsPresShell.cpp' for patching
(use '--prefix' to apply patch relative to the current directory)
1 out of 1 hunks FAILED -- saving rejects to file layout/base/nsPresShell.cpp.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working directory
errors during apply, please fix and qrefresh bug-132145-crash-nativekeybindings.patch
Flags: needinfo?(jjong)
Keywords: checkin-needed
| Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8816347 -
Attachment is obsolete: true
Attachment #8816400 -
Flags: review+
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(jjong)
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0055028cd1f
Request native key bindings for delayed keypress events. r=smaug
Keywords: checkin-needed
Comment 10•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•