Uncaught Exception: content.isJSON is not a function selecting image resource
authorpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Aug 2019 22:14:49 +0000 (22:14 +0000)
committerpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Aug 2019 22:14:49 +0000 (22:14 +0000)
commit04f92d321a635ce2302483fef61555c3e5137df9
treed4af5ec767cbf7e09adfd06d77530b80d188429e
parent96be92708e799fe337f9b4a5aa7f361864b2e1ca
Uncaught Exception: content.isJSON is not a function selecting image resource
https://bugs.webkit.org/show_bug.cgi?id=200680

Reviewed by Devin Rousso.

* UserInterface/Views/ResourceClusterContentView.js:
(WI.ResourceClusterContentView.prototype._canUseJSONContentViewForContent):
Protect against non-string data, such as Blob response content.

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