Open Bug 2022408 Opened 8 months ago Updated 8 months ago

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

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: cvl123abc, Unassigned)

References

(Depends on 1 open bug)

Details

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-hosts.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
You need to log in before you can comment on or make changes to this bug.