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 Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |