Closed Bug 959341 Opened 10 years ago Closed 10 years ago

Replace MOZ_B2G with MOZ_WIDGET_GONK

Categories

(Toolkit :: Application Update, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

Details

Attachments

(1 file)

There is only one instance of MOZ_B2G and many instances of MOZ_WIDGET_GONK in nsUpdateService.js. In bug 959004 I received confirmation that we should use MOZ_WIDGET_GONK instead of MOZ_B2G.
Attached patch patchSplinter Review
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #8359396 - Flags: review?(netzen)
Comment on attachment 8359396 [details] [diff] [review]
patch

Review of attachment 8359396 [details] [diff] [review]:
-----------------------------------------------------------------

I think maybe MOZ_B2G is defined everywhere for B2G including emulators, and GONK is only defined when using GONK widget subsystem, but I don't feel comfortable with the difference in regards to updates.  Also that's just my understanding about which is used where and I'm not confident about that either.
Forwarding to someone who may know better than me.

I don't see any problems with this, but I can't judge well enough myself.
Attachment #8359396 - Flags: review?(netzen) → review?(dhylands)
Comment on attachment 8359396 [details] [diff] [review]
patch

Review of attachment 8359396 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.

MOZ_WIDGET_GONK is defined anywhere that B2G interacts with Android. Which is on physical devices and under the emulator. This does not include desktop B2G, or the simulator (and updating doesn't apply there), or any desktop version of firefox.
Attachment #8359396 - Flags: review?(dhylands) → review+
Pushed to mozilla-inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/7f8407ca38a1
Flags: in-testsuite-
Target Milestone: --- → mozilla29
https://hg.mozilla.org/mozilla-central/rev/7f8407ca38a1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: