Web Inspector: Uncaught Exception: Content request failed.
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2019 17:15:15 +0000 (17:15 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Aug 2019 17:15:15 +0000 (17:15 +0000)
commitcb34606f0cb51041fbf9823e41f1f2e82e670004
tree2382b35a65e1d60e149949073e12be648c62e8ce
parent1a81760633b1c0b923cbd81d972de5eaabd8edfd
Web Inspector: Uncaught Exception: Content request failed.
https://bugs.webkit.org/show_bug.cgi?id=200704
<rdar://problem/54279372>

Reviewed by Brian Burg.

* UserInterface/Models/WebSocketResource.js:
(WI.WebSocketResource.prototype.requestContentFromBackend): Added.
Add an "assert not reached", as WebSocket resources don't really have "content", instead
having a list of send/receive frames.

* UserInterface/Views/ResourceClusterContentView.js:
(WI.ResourceClusterContentView.prototype._tryEnableCustomResponseContentView):
Don't attempt to request the content of any `WI.WebSocketResource` for the reason above.

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