Closed Bug 1872673 Opened 7 months ago Closed 7 months ago

Remove 'console' export from Console.sys.mjs

Categories

(Toolkit :: General, task, P3)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The console export from Console.sys.mjs is a simple instantiation of new ConsoleAPI().

The naming conflicts with the global console object, and it is mainly only used in tests. Therefore I think we can remove the export, and use new ConsoleAPI() directly where we need to keep using it for the time being.

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/962ef2c3b483
Remove 'console' export from Console.sys.mjs, use alternative logging where required. r=mossop,devtools-reviewers,nchevobbe
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bbbf622e19fc
Port "Remove 'console' export from Console.sys.mjs" to Thunderbird. rs=bustage-fix
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: