Bug 190072

Summary: Web Inspector: image resources without content are still shown when the Images folder is selected
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Devin Rousso
Reported 2018-09-27 23:42:55 PDT
In inspector2, clicking on the "Images" folder will show the list of images used by WebInspector. Since we use a lot of SVG fragment images, these won't display properly. As a result, a large "Resource has no content" over the entire content area, making it impossible to see any other images. We should remove the image's `WI.ImageResourceContentView` if it has no content, just like how we remove it if there's an error.
Attachments
Patch (1.55 KB, patch)
2018-09-27 23:44 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2018-09-27 23:44:29 PDT
Matt Baker
Comment 2 2018-09-28 00:31:44 PDT
I tried to repro this and was able to view some images and not others. Steps to reproduce or screenshots would be help to clarify and illustrate the problem.
Matt Baker
Comment 3 2018-09-28 00:37:18 PDT
(In reply to Matt Baker from comment #2) > I tried to repro this and was able to view some images and not others. Steps > to reproduce or screenshots would be help to clarify and illustrate the > problem. Disregard, I misread the bug description.
Matt Baker
Comment 4 2018-09-28 00:38:13 PDT
Comment on attachment 351059 [details] Patch r=me
WebKit Commit Bot
Comment 5 2018-09-28 01:04:17 PDT
Comment on attachment 351059 [details] Patch Clearing flags on attachment: 351059 Committed r236596: <https://trac.webkit.org/changeset/236596>
WebKit Commit Bot
Comment 6 2018-09-28 01:04:19 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2018-09-28 01:05:42 PDT
Note You need to log in before you can comment on or make changes to this bug.