Error response for malformed commands should be provided by DevTools backend
commit7f6085cba344bad1dcfd6d9b35ff796074dc43e8
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 22 Apr 2013 16:19:35 +0000 (22 16:19 +0000)
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 22 Apr 2013 16:19:35 +0000 (22 16:19 +0000)
tree5377155fd0fef4bb7ae2f623b0b7a4fb4a6abbea
parent4f5225180b2f9c26a052bd09147b2ced5f7b11e2
Error response for malformed commands should be provided by DevTools backend

With current implementation RenderViewDevToolsAgentHost tries to parse each command and if it fails it will send its own error message. The CL changes that by forwarding malformed message further to backend as it would any non-handled command.

R=pfeldman
TEST=LayoutTests/inspector/report-protocol-errors.html
BUG=231934

Review URL: https://codereview.chromium.org/14079008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195527 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/devtools/render_view_devtools_agent_host.cc