Closed
Bug 902938
Opened 12 years ago
Closed 12 years ago
add Services.androidBridge and use it in Fennec code
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: froydnj, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
14.23 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Reporter | |
Comment 1•12 years ago
|
||
Attachment #787581 -
Flags: review?(dtownsend+bugmail)
![]() |
Reporter | |
Comment 2•12 years ago
|
||
Attachment #787582 -
Flags: review?(mark.finkle)
Comment 3•12 years ago
|
||
Comment on attachment 787582 [details] [diff] [review]
update android code to use Services.androidBridge
>diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
>-function getBridge() {
>- return Cc["@mozilla.org/android/bridge;1"].getService(Ci.nsIAndroidBridge);
>+ Services.console.logStringMessage(a);
> }
getBridge is going away, rightly so, but getBridge is called a few times in browser.js:
http://mxr.mozilla.org/mozilla-central/search?string=getBridge&find=mobile/android
Those should be changed to Services.androidBridge
r+ with those changes
Off-topic:
Services.androidBridge.handleGeckoMessage would be nicer as Servcies.androidBridge.sendMessage, but that is a different but for the future.
Attachment #787582 -
Flags: review?(mark.finkle) → review+
Comment 4•12 years ago
|
||
Comment on attachment 787581 [details] [diff] [review]
add androidBridge to Services.jsm
Review of attachment 787581 [details] [diff] [review]:
-----------------------------------------------------------------
Update the test please
Attachment #787581 -
Flags: review?(dtownsend+bugmail) → review-
![]() |
Reporter | |
Comment 5•12 years ago
|
||
Updated test.
Attachment #787581 -
Attachment is obsolete: true
Attachment #787826 -
Flags: review?(dtownsend+bugmail)
Updated•12 years ago
|
Attachment #787826 -
Flags: review?(dtownsend+bugmail) → review+
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5b9d7a5c2706
https://hg.mozilla.org/mozilla-central/rev/8348bc72f298
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Assignee | ||
Updated•4 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
•