[webkit-reviews] review denied: [Bug 109284] Web Inspector: for event listener provide handler function value in protocol and in UI : [Attachment 187293] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 8 05:29:49 PST 2013

Yury Semikhatsky <yurys at chromium.org> has denied Peter Rybin
<prybin at chromium.org>'s request for review:
Bug 109284: Web Inspector: for event listener provide handler function value in
protocol and in UI

Attachment 187293: Patch

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

> Source/WebCore/bindings/v8/ScriptEventListener.cpp:112
> +    V8AbstractEventListener* v8Listener =

Please extract common part with eventListenerHandlerBody into a separate

> Source/WebCore/inspector/Inspector.json:1748
> +		       { "name": "handler", "$ref": "Runtime.RemoteObject",
"optional": true, "hidden": true, "description": "Event handler function value"

The type is already hidden.

> Source/WebCore/inspector/Inspector.json:1870
> +		       { "name": "objectGroup", "type": "string", "optional":
true, "description": "Symbolic group name for handler value." }

Please add a note on that handler won't be returned if the group is not

> Source/WebCore/inspector/InspectorDOMAgent.cpp:1394
> +		   InjectedScript injectedScript =

You should use the world from event listener instead.

> Source/WebCore/inspector/front-end/EventListenersSidebarPane.js:123
> +	       node.eventListeners("arabypaC", callback);

Please use WebInspector.EventListenersSidebarPane._objectGroupName

More information about the webkit-reviews mailing list