Closed Bug 1492827 Opened 7 years ago Closed 7 years ago

The console should not request FileActivity if it is not using these events.

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: ochameau, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The console frontend requests the server to send FileActivity events event: https://searchfox.org/mozilla-central/rev/94e37e71ffbfd39e6ad73ebcda5d77cce8d341ae/devtools/client/webconsole/webconsole-connection-proxy.js#176 Whereas it is not using these events: https://searchfox.org/mozilla-central/rev/94e37e71ffbfd39e6ad73ebcda5d77cce8d341ae/devtools/client/webconsole/webconsole-connection-proxy.js#371 We should at least stop requesting for these events in attachConsole, and may be remove this "TODO" code and the one similar for reflow events. (ie. the calls to client.addListener)
Priority: -- → P3
Comment on attachment 9012559 [details] Bug 1492827 - Remove unused listeners and handlers from webconsole-connection-proxy; r=ochameau. Alexandre Poirot [:ochameau] has approved the revision.
Attachment #9012559 - Flags: review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fbe6ee092645 Remove unused listeners and handlers from webconsole-connection-proxy; r=ochameau.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Assignee: nobody → nchevobbe
Blocks: 1625950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: