Closed
Bug 1189995
Opened 9 years ago
Closed 9 years ago
Move GeckoAppShell.runGecko to GeckoThread
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox42 affected, firefox43 fixed)
RESOLVED
FIXED
Firefox 43
People
(Reporter: jchen, Assigned: jchen)
Details
Attachments
(2 files)
11.96 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
10.24 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
GeckoAppShell.runGecko is a relic from the past and really should belong in GeckoThread.
Assignee | ||
Comment 1•9 years ago
|
||
GeckoAppShell.runGecko really should be in GeckoThread because GeckoThread already takes care of most of the preparation when running Gecko. This patch merges runGecko into GeckoThread.run, but splits the argument-building code into its own method.
Attachment #8644631 -
Flags: review?(snorp)
Assignee | ||
Comment 2•9 years ago
|
||
This method is used by Gecko to pump the Android message loop, and it's also more suited to GeckoThread than GeckoAppShell.
Attachment #8644632 -
Flags: review?(snorp)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8644631 [details] [diff] [review] Move GeckoAppShell.runGecko to GeckoThread (v1) Review of attachment 8644631 [details] [diff] [review]: ----------------------------------------------------------------- I think I should keep :esawin involved in some of these changes too :)
Attachment #8644631 -
Flags: review?(snorp) → review?(esawin)
Assignee | ||
Updated•9 years ago
|
Attachment #8644632 -
Flags: review?(snorp) → review?(esawin)
Comment 4•9 years ago
|
||
Comment on attachment 8644631 [details] [diff] [review] Move GeckoAppShell.runGecko to GeckoThread (v1) Review of attachment 8644631 [details] [diff] [review]: ----------------------------------------------------------------- This looks good! Is there a reason to remove the idle handler after dispatching Gecko:Exited? That seems to be the only change in semantics I see.
Attachment #8644631 -
Flags: review?(esawin) → review+
Updated•9 years ago
|
Attachment #8644632 -
Flags: review?(esawin) → review+
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Eugen Sawin [:esawin] from comment #4) > Comment on attachment 8644631 [details] [diff] [review] > Move GeckoAppShell.runGecko to GeckoThread (v1) > > Review of attachment 8644631 [details] [diff] [review]: > ----------------------------------------------------------------- > > This looks good! > > Is there a reason to remove the idle handler after dispatching Gecko:Exited? > That seems to be the only change in semantics I see. I don't think it matters where we do it, so I just put it at the end.
https://hg.mozilla.org/integration/mozilla-inbound/rev/46f21e3aeed5 https://hg.mozilla.org/integration/mozilla-inbound/rev/224df670cbb6
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/46f21e3aeed5 https://hg.mozilla.org/mozilla-central/rev/224df670cbb6
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
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
•