Bug 141494

Summary: Web Inspector: Blob/File resources are not cleared/dimmed from resources sidebar when garbage collected
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://html5demos.com/file-api

Brian Burg
Reported 2015-02-11 15:14:58 PST
This is hard to reproduce until introduction of blob usage in the inspector itself (https://bugs.webkit.org/show_bug.cgi?id=141405). We should be able to tell when blobs/files get GC'd, then remove tree elements for things that reference them (Fonts, Images). Right now we keep entries for all blobs (named after the objectURL created for the blob) even if the object URL is no longer valid.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-02-11 15:15:39 PST
Brian Burg
Comment 2 2015-02-12 10:44:11 PST
It turns out that Google Maps uses blobs + objectURLs for nearly all of its tile image data (probably coming over on a WebSocket...). This would be a good test case as well, since 100's of blobs are created and used as image src=.
Note You need to log in before you can comment on or make changes to this bug.