RESOLVED FIXED256319
Web Inspector: objects can have multiple private fields with the same name
https://bugs.webkit.org/show_bug.cgi?id=256319
Summary Web Inspector: objects can have multiple private fields with the same name
Devin Rousso
Reported 2023-05-04 10:24:10 PDT
# 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"}
Attachments
Devin Rousso
Comment 1 2023-05-04 11:00:27 PDT
Radar WebKit Bug Importer
Comment 2 2023-05-11 10:25:43 PDT
EWS
Comment 3 2023-08-30 21:41:47 PDT
Committed 267483@main (eba01be516e6): <https://commits.webkit.org/267483@main> Reviewed commits have been landed. Closing PR #13448 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.