Closed Bug 2022400 Opened 1 month ago Closed 1 month ago

Use private class fields in devtools/client/debugger/src/components/SecondaryPanes/Expressions.js

Categories

(DevTools :: Debugger, 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, 1 obsolete 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/debugger/src/components/SecondaryPanes/Expressions.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 #9556072 - Attachment is obsolete: true
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/eb04ab8ea8fe https://hg.mozilla.org/integration/autoland/rev/04b57bed8def Use private class fields in devtools/client/debugger/src/components/SecondaryPanes/Expressions.js. r=nchevobbe,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month 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: