Bug 255946

Summary: Web Inspector: private symbols should not be shown in the scope chain
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   

Description Devin Rousso 2023-04-25 12:18:29 PDT
# STEPS TO REPRODUCE
1. inspect any page
2. evaluate in Web Inspector
```
(new class { #x = 42; test() { debugger; } }).test()
```

## EXPECTED

the scope chain details sidebar panel would be empty

## ACTUAL

there is a property named "#x" with a value of `Symbol()`
Comment 1 Devin Rousso 2023-04-25 12:28:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13163
Comment 2 EWS 2023-04-28 13:08:13 PDT
Committed 263513@main (d1eb17d9b5dc): <https://commits.webkit.org/263513@main>

Reviewed commits have been landed. Closing PR #13163 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-28 13:09:24 PDT
<rdar://problem/108674026>