Closed Bug 1388211 Opened 8 years ago Closed 8 years ago

Fold ExtensionAPI.jsm into ExtensionCommon.jsm

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

We always load one when we load the other, so there's no need for the overhead of a separate JSM.
Comment on attachment 8894700 [details] Bug 1388211: Fold ExtensionAPI.jsm into ExtensionCommon.jsm. https://reviewboard.mozilla.org/r/165866/#review171270 ::: toolkit/components/extensions/ExtensionCommon.jsm:91 (Diff revision 1) > [Symbol.iterator]() { > return this.unwrappedValues[Symbol.iterator](); > } > } > > +class ExtensionAPI extends ExtensionUtils.EventEmitter { Why is this extending the EventEmitter now, nothing else seems to have changed about the code?
Comment on attachment 8894700 [details] Bug 1388211: Fold ExtensionAPI.jsm into ExtensionCommon.jsm. https://reviewboard.mozilla.org/r/165866/#review171270 > Why is this extending the EventEmitter now, nothing else seems to have changed about the code? This is on top of bug 1387898. Reviewboard just sucks.
Comment on attachment 8894700 [details] Bug 1388211: Fold ExtensionAPI.jsm into ExtensionCommon.jsm. https://reviewboard.mozilla.org/r/165866/#review171280
Attachment #8894700 - Flags: review?(mixedpuppy) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Blocks: 1373418
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: