Bug 204162

Summary: Web Inspector: including `generatePreview` in inspector/model/remote-object-weak-collection.html prevents the WeakMap key from being collected
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=202932

Devin Rousso
Reported 2019-11-13 10:20:51 PST
Adding `generatePreview: true` to the `WI.runtimeManager.evaluateInInspectedWindow` call in 'inspector/model/remote-object-weak-collection.html' sometimes causes `window.strongKey2` to still exist after the `delete window.strongKey2;` evaluation. This doesn't reproduce when tested manually using Web Inspector (e.g. opening the test HTML file in a browser and manually evaluating each `expression` inside `steps`).
Attachments
Note You need to log in before you can comment on or make changes to this bug.