Closed Bug 1394816 Opened 7 years ago Closed 6 years ago

[nosdk] Stop using EventEmitter.decorate in TabActor

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox57 fix-optional)

RESOLVED DUPLICATE of bug 1450956
Tracking Status
firefox57 --- fix-optional

People

(Reporter: jdescottes, Unassigned)

References

Details

(Whiteboard: [reserve-nosdk])

Follow up to Bug 1391562. Migrate TabActor in devtools/server/actors/tab.js to use ES6 classes and remove the use of EventEmitter.decorate introduced in Bug 1391562. Instead we should use ES6 inheritance for the TabActor. > class TabActor extends EventEmitter { ... } The TabActor prototype is not straightforward to migrate which is why this has been moved to a followup.
Blocks: 1402840
No longer blocks: 1391562
As protocol.js inherits from EventEmitter, this will be resolved in 1450956
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.