[Webkit-unassigned] [Bug 235859] New: Web Inspector: Support ES2022 Private Fields & Methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 29 08:17:53 PST 2022


            Bug ID: 235859
           Summary: Web Inspector: Support ES2022 Private Fields & Methods
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rob.palmer2 at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 450325

  --> https://bugs.webkit.org/attachment.cgi?id=450325&action=review

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

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220129/49abd154/attachment.htm>

More information about the webkit-unassigned mailing list