Closed Bug 1439380 Opened 3 years ago Closed 3 years ago

Remove uses of Promise.jsm from mobile/android

Categories

(Firefox for Android Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

From bug 1368456 comment 0:

> Now that bug 939636 is resolved, most imports of the Promise.jsm module can
> already be removed. Because some callers still use Promise.defer(), bug
> 1034599 should be fixed before all instances can be removed.

There's just two remaining instances left in mobile/android, so we should clean those up.

One of those instances is in a deprecated function (Accounts.syncAccountsExist), so as we no longer support legacy add-ons, we can also remove that.
Attachment #8952147 - Flags: review?(cnevinchen)
Comment on attachment 8952147 [details]
Bug 1439380 - Remove uses of Promise.jsm from mobile/android.

https://reviewboard.mozilla.org/r/221386/#review227436
Attachment #8952147 - Flags: review?(cnevinchen) → review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6496c32d75a2
Remove uses of Promise.jsm from mobile/android. r=nechen
https://hg.mozilla.org/mozilla-central/rev/6496c32d75a2
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.