Closed
Bug 1306644
Opened 8 years ago
Closed 8 years ago
Avoid unnecessary sync IPC round trip for TakeFocusForClickFromTap
Categories
(Core :: DOM: Content Processes, defect)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox49 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | --- | wontfix |
firefox52 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file)
Right now the PBrowser::HandleTap message is sent from TabParent to TabChild and then if the tap type is eSingleTap, TabChild turns around and sends a TakeFocusForClickFromTap message back to the parent via PRenderFrame. This seems like a wasted sync IPC message since TabParent could just do this directly before sending the HandleTap message to the child. That should be equivalent.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
status-firefox51:
--- → wontfix
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8796600 [details] Bug 1306644 - Have TabParent call TakeFocusForClickFromTap rather than doing it over a sync IPC roundtrip. https://reviewboard.mozilla.org/r/82400/#review81036
Attachment #8796600 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Had to rebase around bug 1302736, which added a eSecondTap type as well which also does the TakeFocusForClickFromTap dance. The rebase was straightforward enough so I'm just going to land it.
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9eb7d99a0bb2 Have TabParent call TakeFocusForClickFromTap rather than doing it over a sync IPC roundtrip. r=dvander
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9eb7d99a0bb2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•