Use private class fields in devtools/client/debugger/dist/pretty-print-worker.js
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(Not tracked)
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/debugger/dist/pretty-print-worker.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.
| Reporter | ||
Comment 1•9 months ago
|
||
I’m working on this as part of the ongoing private fields migration (meta bug 2011387).
Comment 2•9 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•9 months ago
|
Description
•