Closed Bug 2022407 Opened 6 months ago Closed 6 months ago

Use private class fields in devtools/client/framework/toolbox-host-manager.js

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: cvl123abc, Assigned: cvl123abc)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Steps to reproduce:

Reviewed devtools/client/framework/toolbox-host-manager.js and identified underscore-prefixed properties and methods that are used as private class members.

Actual results:

The file currently uses underscore-prefixed properties and methods to indicate privacy.

Expected results:

Use JavaScript private class fields and methods (#) instead of underscore-prefixed properties.

Depends on: 2011387

I’m working on this as part of the ongoing private fields migration (meta bug 2011387).

Priority: -- → P3
Assignee: nobody → cvl123abc
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9554707 - Attachment description: Bug 2022407 - Use private class fields in devtools/client/framework/toolbox-host-manager.js. r=nchevobbe → Bug 2022407 - Use private class fields for devtools/client/framework/toolbox-host-manager.js. r=nchevobbe
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a5f35299e543 https://hg.mozilla.org/integration/autoland/rev/0daaf79d731e Use private class fields for devtools/client/framework/toolbox-host-manager.js. r=nchevobbe,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: