[webkit-reviews] review denied: [Bug 92342] Web Inspector [JSC]: Support multi instance for PageScriptDebugServer of JSC : [Attachment 155233] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 30 02:24:57 PDT 2012


Yury Semikhatsky <yurys at chromium.org> has denied Peter Wang
<peter.wang at torchmobile.com.cn>'s request for review:
Bug 92342: Web Inspector [JSC]: Support multi instance for
PageScriptDebugServer of JSC
https://bugs.webkit.org/show_bug.cgi?id=92342

Attachment 155233: Patch
https://bugs.webkit.org/attachment.cgi?id=155233&action=review

------- Additional Comments from Yury Semikhatsky <yurys at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=155233&action=review


> Source/WebCore/bindings/js/PageScriptDebugServer.h:59
> +    PageScriptDebugServer(Page* = 0);

The constructor should be marked "explicit" also why is the Page parameter 0 by
default while it should never be null?

> Source/WebCore/bindings/js/PageScriptDebugServer.h:76
> +    static PageDebugServerMap m_pageDebugServerMap;

m_pageDebugServerMap -> s_pageDebugServerMap as it is a static field.

> Source/WebCore/inspector/InspectorProfilerAgent.cpp:106
> +	   return PageScriptDebugServer::server(0);

Worker*Agent must not depend on Page*Server. There should be a separate map
WorkerContext -> WorkerScriptDebugServer.

> Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp:-105
> -	       PageScriptDebugServer::shared().continueProgram();

You don't need to rename this getter for V8 bindings as the patch doesn't
affect their functionality.


More information about the webkit-reviews mailing list