Closed Bug 1432576 Opened 8 years ago Closed 8 years ago

Remove B2G shared global isms from Promise.jsm

Categories

(Toolkit :: Async Tooling, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Promise.jsm defines this.Cc etc. as an adaptation to the particular way B2G was doing shared globals, but that isn't needed any more.
Comment on attachment 8944859 [details] Bug 1432576 - Remove B2G shared global isms from Promise.jsm. https://reviewboard.mozilla.org/r/215018/#review220644 rs=me
Attachment #8944859 - Flags: review?(gijskruitbosch+bugs) → review+
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d1484bf37d1e Remove B2G shared global isms from Promise.jsm. r=Gijs
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment on attachment 8944859 [details] Bug 1432576 - Remove B2G shared global isms from Promise.jsm. https://reviewboard.mozilla.org/r/215018/#review220824 ::: toolkit/modules/Promise.jsm:9 (Diff revision 1) > * License, v. 2.0. If a copy of the MPL was not distributed with this > * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ > > "use strict"; > > -this.EXPORTED_SYMBOLS = [ > +var EXPORTED_SYMBOLS = [ Would it make sense to do this change everywhere?
(In reply to Florian Quèze [:florian] from comment #5) > Would it make sense to do this change everywhere? I think so. At least, I find the "this." way of doing it to be ugly, and it isn't needed any more.
(In reply to Andrew McCreight [:mccr8] from comment #6) > (In reply to Florian Quèze [:florian] from comment #5) > > Would it make sense to do this change everywhere? > > I think so. At least, I find the "this." way of doing it to be ugly, and it > isn't needed any more. Ok, I'll treat this comment as an offer to review my patch if I do this mass change in the next few days :-).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: