Closed
Bug 752905
Opened 12 years ago
Closed 11 years ago
Move Prompt:Show handler out of handleGeckoMessage
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 fixed, firefox16 fixed)
RESOLVED
FIXED
Firefox 16
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file)
9.34 KB,
patch
|
Margaret
:
review+
mfinkle
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Currently the GeckoAppShell.handleGeckoMessage has special code for a couple of events. This should be moved out and made to use the general GeckoEventListener/GeckoEventResponder framework both for modularity and for performance (doing unnecessary string creation/comparison for each message isn't good).
Comment 1•12 years ago
|
||
I would like to use this opportunity to have the accessibility check be a java->js message. So I opened bug 752935, the patch there should remove the offending Accessibility:IsEnabled block from GeckoAppShell.handleGeckoMessage and make a GeckoEventListener.
Depends on: 752935
Assignee | ||
Updated•12 years ago
|
Summary: Move Prompt:Show and Accessibility:IsEnabled handlers out of handleGeckoMessage → Move Prompt:Show handler out of handleGeckoMessage
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #632822 -
Flags: review?(margaret.leibovic)
Comment 3•11 years ago
|
||
Comment on attachment 632822 [details] [diff] [review] Patch Nice, I like this decoupling. >diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java >@@ -2687,17 +2690,17 @@ abstract public class GeckoApp > public void run() { >- GeckoAppShell.getPromptService().Show(mTitle, "", null, mItems, false); >+ mPromptService.Show(mTitle, "", null, mItems, false); Nit: Not your bug, but can we make this Show method lowercase? Is there any reason it should be uppercase?
Attachment #632822 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc8d0eefddb4 I filed bug 764579 for /Show/show/ since I didn't want to lump it in here.
Target Milestone: --- → Firefox 16
Assignee | ||
Updated•11 years ago
|
status-firefox16:
--- → fixed
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fc8d0eefddb4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
Comment on attachment 632822 [details] [diff] [review] Patch Needed to land bug 769269. [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: Testing completed (on m-c, etc.): m-c Risk to taking this patch (and alternatives if risky): low risk String or UUID changes made by this patch: none
Attachment #632822 -
Flags: approval-mozilla-aurora?
Comment 8•11 years ago
|
||
Comment on attachment 632822 [details] [diff] [review] Patch This patch itself has been baking awhile and is low risk. I would not take the patch if it wasn't needed to make uplifting bug 769269 easier.
Attachment #632822 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #632822 -
Flags: approval-mozilla-beta+
Comment 9•11 years ago
|
||
Landed rollup with bug 764579. http://hg.mozilla.org/releases/mozilla-beta/rev/b04c6364ebf6
status-firefox15:
--- → fixed
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•