Bug 255946
| Summary: | Web Inspector: private symbols should not be shown in the scope chain | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> |
| Component: | Web Inspector | Assignee: | 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 | ||
Devin Rousso
# 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()`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Devin Rousso
Pull request: https://github.com/WebKit/WebKit/pull/13163
EWS
Committed 263513@main (d1eb17d9b5dc): <https://commits.webkit.org/263513@main>
Reviewed commits have been landed. Closing PR #13163 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/108674026>