Bug 256319

Summary: Web Inspector: objects can have multiple private fields with the same name
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 254961    
Bug Blocks:    

Description Devin Rousso 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"}
Comment 1 Devin Rousso 2023-05-04 11:00:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13448
Comment 2 Radar WebKit Bug Importer 2023-05-11 10:25:43 PDT
<rdar://problem/109215331>
Comment 3 EWS 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.