This repository has been archived by the owner. It is now read-only.
Remove console.log.bind(console) pattern in log.js #4225
Closed
Labels
Milestone
Comments
|
Also, Console.jsm is imported but doesn't seem to be used: screenshots/addon/bootstrap.js Lines 15 to 16 in dd44303 |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1445772 to handle other cases in m-c. We don't need to manually bind console methods to the console object anymore as of Bug
989619.
So we should be able to simplify these:
screenshots/addon/webextension/log.js
Lines 30 to 44 in 9e4ca4e
exports.debug = console.debug, etc.The text was updated successfully, but these errors were encountered: