[Webkit-unassigned] [Bug 256319] New: Web Inspector: objects can have multiple private fields with the same name
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 4 10:24:10 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256319
Bug ID: 256319
Summary: Web Inspector: objects can have multiple private
fields with the same name
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: hi at devinrousso.com
CC: inspector-bugzilla-changes at group.apple.com
Depends on: 254961
# STEPS TO REPRODUCE
1. inspect any page
2. log the following in the Console
```
class Foo { #foo = 42; static #bar = 42; #baz() { } }
class Bar extends Foo { #foo = 'asd'; static #bar = 'asd'; #baz() { } }
new Bar
```
## EXPECTED
Bar {#foo: 42, #foo: "asd"}
## ACTUAL
Bar {#foo: "asd"}
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=254961
[Bug 254961] Web Inspector: Support ES2022 Private Fields
--
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/20230504/ebe866d1/attachment.htm>
More information about the webkit-unassigned
mailing list