Bug 141494 - Web Inspector: Blob/File resources are not cleared/dimmed from resources sidebar when garbage collected
Summary: Web Inspector: Blob/File resources are not cleared/dimmed from resources side...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://html5demos.com/file-api
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-02-11 15:14 PST by Brian Burg
Modified: 2016-12-13 15:37 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 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.
Comment 1 Radar WebKit Bug Importer 2015-02-11 15:15:39 PST
<rdar://problem/19803964>
Comment 2 Brian Burg 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=.