Summary: | Web Inspector: Support ES2022 Private Methods | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rob Palmer <rob.palmer2> | ||||
Component: | Web Inspector | Assignee: | Patrick Angle <pangle> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | hi, inspector-bugzilla-changes, pangle, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari Technology Preview | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=254961 | ||||||
Attachments: |
|
Created attachment 450325 [details] Private fields and methods are missing The Web Inspector should support showing ES2022 class private fields, methods & accessors when inspecting an object instance in the Console. Currently when we run the following code in the Web Inspector Console, the output shows **public** fields & methods, but not private ones. ``` class Foo { public = 'public'; #private = 'private'; publicMethod() {} #privateMethod() {} } new Foo(); // Inspect the Console output now ```