WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 43335
Chromium DevTools: Get rid of APUAgent and DebuggerAgent
https://bugs.webkit.org/show_bug.cgi?id=43335
Summary
Chromium DevTools: Get rid of APUAgent and DebuggerAgent
Pavel Feldman
Reported
2010-08-02 05:06:03 PDT
I'd like to remove DevToolsRPC infrastructure as a whole, starting with removing these two agents.
Attachments
[PATCH] Proposed change.
(24.14 KB, patch)
2010-08-02 05:23 PDT
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
[PATCH] Proposed change with fixed style.
(24.79 KB, patch)
2010-08-02 05:39 PDT
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
[PATCH] Profiler check added.
(24.80 KB, patch)
2010-08-02 05:47 PDT
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
[PATCH] Proposed change with style addressed.
(24.43 KB, patch)
2010-08-02 05:53 PDT
,
Pavel Feldman
yurys
: review+
Details
Formatted Diff
Diff
[PATCH] Now I removed all agents + RPC itself.
(87.86 KB, patch)
2010-08-02 11:49 PDT
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
[PATCH] Now I removed all agents + RPC itself (bot fixed).
(87.85 KB, patch)
2010-08-02 13:27 PDT
,
Pavel Feldman
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-08-02 05:23:57 PDT
Created
attachment 63194
[details]
[PATCH] Proposed change.
WebKit Review Bot
Comment 2
2010-08-02 05:26:58 PDT
Attachment 63194
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/DebuggerAgentImpl.h:55: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/src/WebDevToolsAgentImpl.cpp:515: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/public/WebDevToolsAgentClient.h:43: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 5 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 3
2010-08-02 05:39:10 PDT
Created
attachment 63200
[details]
[PATCH] Proposed change with fixed style.
WebKit Review Bot
Comment 4
2010-08-02 05:43:14 PDT
Attachment 63200
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/WebDevToolsAgentImpl.cpp:518: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/public/WebDevToolsAgentClient.h:43: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 4 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yury Semikhatsky
Comment 5
2010-08-02 05:45:12 PDT
Comment on
attachment 63200
[details]
[PATCH] Proposed change with fixed style. WebKit/chromium/src/WebDevToolsAgentImpl.cpp:297 + ProfilerAgentDispatch::dispatch(m_profilerAgentImpl.get(), data); looks like m_attached and m_profilerAgentImpl.get() checks are missing
Pavel Feldman
Comment 6
2010-08-02 05:47:43 PDT
Created
attachment 63203
[details]
[PATCH] Profiler check added.
WebKit Review Bot
Comment 7
2010-08-02 05:49:28 PDT
Attachment 63203
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/WebDevToolsAgentImpl.cpp:296: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/public/WebDevToolsAgentClient.h:43: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 10 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 8
2010-08-02 05:53:32 PDT
Created
attachment 63205
[details]
[PATCH] Proposed change with style addressed.
WebKit Review Bot
Comment 9
2010-08-02 05:55:10 PDT
Attachment 63205
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/public/WebDevToolsAgentClient.h:43: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 2 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yury Semikhatsky
Comment 10
2010-08-02 05:56:17 PDT
Comment on
attachment 63205
[details]
[PATCH] Proposed change with style addressed. WebKit/chromium/src/WebDevToolsAgentImpl.cpp:302 + if (m_profilerAgentImpl.get() && ProfilerAgentDispatch::dispatch(m_profilerAgentImpl.get(), data)) if (m_profilerAgentImpl.get() && ProfilerAgentDispatch::dispatch(m_profilerAgentImpl.get(), data)) should be if (m_profilerAgentImpl) ProfilerAgentDispatch::dispatch(m_profilerAgentImpl.get(), data);
Pavel Feldman
Comment 11
2010-08-02 11:49:45 PDT
Created
attachment 63243
[details]
[PATCH] Now I removed all agents + RPC itself. I'd like to land it as a two-sided change while I am on the duty tomorrow. Sorry about the size of the patch.
Eric Seidel (no email)
Comment 12
2010-08-02 12:51:24 PDT
Attachment 63243
[details]
did not build on mac: Build output:
http://queues.webkit.org/results/3580746
Pavel Feldman
Comment 13
2010-08-02 13:27:58 PDT
Created
attachment 63248
[details]
[PATCH] Now I removed all agents + RPC itself (bot fixed).
Yury Semikhatsky
Comment 14
2010-08-03 00:31:27 PDT
Comment on
attachment 63248
[details]
[PATCH] Now I removed all agents + RPC itself (bot fixed). WebCore/inspector/InspectorFrontend.h:156 + void didGetProfilerLogLines(int position, const String& data); You should either put calling code behind the same guards or remove the guards here.Or remove these methods completely.
Pavel Feldman
Comment 15
2010-08-03 00:39:55 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... D WebKit/chromium/public/WebDevToolsMessageData.h D WebKit/chromium/public/WebDevToolsMessageTransport.h D WebKit/chromium/src/APUAgentDelegate.h D WebKit/chromium/src/DebuggerAgent.h D WebKit/chromium/src/DevToolsRPC.h D WebKit/chromium/src/DevToolsRPCJS.h D WebKit/chromium/src/ProfilerAgent.h D WebKit/chromium/src/ProfilerAgentImpl.cpp D WebKit/chromium/src/ProfilerAgentImpl.h D WebKit/chromium/src/ToolsAgent.h M WebCore/ChangeLog M WebCore/bindings/js/ScriptProfiler.h M WebCore/bindings/v8/ScriptProfiler.cpp M WebCore/bindings/v8/ScriptProfiler.h M WebCore/inspector/Inspector.idl M WebCore/inspector/InspectorBackend.cpp M WebCore/inspector/InspectorBackend.h M WebCore/inspector/InspectorController.cpp M WebCore/inspector/InspectorController.h M WebCore/inspector/front-end/InspectorBackendStub.js M WebKit/chromium/ChangeLog M WebKit/chromium/WebKit.gyp M WebKit/chromium/public/WebDevToolsAgent.h M WebKit/chromium/public/WebDevToolsAgentClient.h M WebKit/chromium/public/WebDevToolsFrontend.h M WebKit/chromium/public/WebDevToolsFrontendClient.h M WebKit/chromium/src/DebuggerAgentImpl.cpp M WebKit/chromium/src/DebuggerAgentImpl.h M WebKit/chromium/src/DebuggerAgentManager.cpp M WebKit/chromium/src/InspectorClientImpl.cpp M WebKit/chromium/src/InspectorFrontendClientImpl.cpp M WebKit/chromium/src/WebDevToolsAgentImpl.cpp M WebKit/chromium/src/WebDevToolsAgentImpl.h M WebKit/chromium/src/WebDevToolsFrontendImpl.cpp M WebKit/chromium/src/WebDevToolsFrontendImpl.h M WebKit/chromium/src/js/DevTools.js M WebKit/chromium/src/js/DevToolsHostStub.js M WebKit/chromium/src/js/ProfilerAgent.js M WebKit/chromium/src/js/ProfilerProcessor.js M WebKitTools/ChangeLog M WebKitTools/DumpRenderTree/chromium/DRTDevToolsAgent.cpp M WebKitTools/DumpRenderTree/chromium/DRTDevToolsAgent.h M WebKitTools/DumpRenderTree/chromium/DRTDevToolsCallArgs.h M WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp M WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.h Committed
r64534
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug