Web Inspector: image resources without content are still shown when the Images folder...
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2018 08:04:10 +0000 (08:04 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2018 08:04:10 +0000 (08:04 +0000)
commitcd73995eea80127433ff1c1f8a2433c279da0405
tree467bd4f3625750dd550ade00bd31835e5571ec2b
parentbc3987a62fac03bfd901b553aa15c96ee2e092f5
Web Inspector: image resources without content are still shown when the Images folder is selected
https://bugs.webkit.org/show_bug.cgi?id=190072

Reviewed by Matt Baker.

* UserInterface/Views/ResourceContentView.js:
(WI.ResourceContentView.prototype.showGenericNoContentMessage):
Treat paths that result in a "Resource has no content" message as a "content error".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js