Closed Bug 1749449 Opened 4 years ago Closed 4 years ago

Cleanup hasNativeConsoleAPI state through the codebase

Categories

(DevTools :: Console, task)

task

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

This property is used to display a warning message when the console object is overidden and went through some changes with all the fission work.
Now, it's only read from a DOCUMENT_EVENT resource in webconsole-ui.js (devtools/client/webconsole/webconsole-ui.js#401-405,421-423), but we have a lot of different places where this is computed/placed in packets and object instances.
Let's clean that all up.

This removes all the mention of this property which aren't
actually used to display the warning message in the end.

Depends on D135585

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/78bfdd2e78ac [devtools] Cleanup hasNativeConsoleAPI state through the codebase. r=jdescottes,devtools-backward-compat-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: