Bug 255946 - Web Inspector: private symbols should not be shown in the scope chain
Summary: Web Inspector: private symbols should not be shown in the scope chain
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-25 12:18 PDT by Devin Rousso
Modified: 2023-04-28 13:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>