Summary: | Web Inspector: Canvas recordings use a lot of memory and are never released | ||
---|---|---|---|
Product: | WebKit | Reporter: | BJ Burg <bburg> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | bburg, hi, inspector-bugzilla-changes, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 173807 |
Description
BJ Burg
2017-12-08 11:37:52 PST
The resource usage is somewhat expected, though we should have some way to clear recordings from memory if we don't expect to ever see them again. I don't know in what cases this would make sense. After navigating, clear if: - User never opened the recording - Canvas Tab is closed - Web Inspector is closed Preserve recording if: - User has opened it at least once - It is imported from file - Relevant canvas has been deleted from DOM but page hasn't navigated |