Closed Bug 1438097 Opened 6 years ago Closed 6 years ago

nsXBLWindowKeyHandler should wait reply from remote process even if the keyboard event won't be fired on content in the default event group

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

Currently, nsXBLWindowKeyHandler::HandleEventOnCaptureInSystemEventGroup() doesn't wait reply for keyboard events which won't be fired on content in the default event group (i.e, its mFlags.mOnlySystemGroupDispatchInContent is true). This is reasonable if system event listeners in remote process won't consume any keyboard events before nsXBLWindowKeyHandleor. However, it may not be so.

So, nsXBLWindowKeyHandler::HandleEventOnCaptureInSystemEventGroup() should mark such events as "wants reply from remote process".
Priority: -- → P2
Comment on attachment 8951156 [details]
Bug 1438097 - nsXBLWindowKeyHandler::HandleEventOnCaptureInSystemEventGroup() should mark keyboard events which won't be fired on content in the default event group as "wait reply from remote process"

https://reviewboard.mozilla.org/r/220422/#review226450
Attachment #8951156 - Flags: review?(bugs) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/c25eaa199ff8
nsXBLWindowKeyHandler::HandleEventOnCaptureInSystemEventGroup() should mark keyboard events which won't be fired on content in the default event group as "wait reply from remote process" r=smaug
https://hg.mozilla.org/mozilla-central/rev/c25eaa199ff8
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: