Chromium Code Reviews| Index: Source/devtools/protocol.json |
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
| index fc05380cd4247fc12c9743a45ef40ef46293c9dd..81a80af5a2a85ae64d420c507d651971d96ed36e 100644 |
| --- a/Source/devtools/protocol.json |
| +++ b/Source/devtools/protocol.json |
| @@ -809,6 +809,19 @@ |
| ] |
| }, |
| { |
| + "id": "EventListener", |
| + "type": "object", |
| + "hidden": true, |
| + "properties": [ |
| + { "name": "type", "type": "string", "description": "<code>EventListener</code>'s type." }, |
| + { "name": "useCapture", "type": "boolean", "description": "<code>EventListener</code>'s useCapture." }, |
|
pfeldman
2015/04/10 08:45:12
I don't think you need this for non-DOM listeners.
kozy
2015/04/13 14:26:54
I suppose it can be useful for non-DOM listeners.
|
| + { "name": "isAttribute", "type": "boolean", "description": "<code>EventListener</code>'s isAttribute." }, |
|
pfeldman
2015/04/10 08:45:11
ditto
kozy
2015/04/13 14:26:54
Removed.
|
| + { "name": "location", "$ref": "Debugger.Location", "description": "Handler code location." }, |
|
pfeldman
2015/04/10 08:45:12
Lets drop this and use it from the handler.
kozy
2015/04/13 14:26:54
If we have some event with a lot of listener funct
|
| + { "name": "handler", "$ref": "Runtime.RemoteObject", "optional": true, "description": "Event handler function value." } |
| + ], |
| + "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type." |
| + }, |
| + { |
| "id": "InternalPropertyDescriptor", |
| "type": "object", |
| "description": "Object internal property descriptor. This property isn't normally visible in JavaScript code.", |
| @@ -896,6 +909,17 @@ |
| "description": "Returns properties of a given object. Object group of the result is inherited from the target object." |
| }, |
| { |
| + "name": "getEventListeners", |
|
pfeldman
2015/04/10 08:45:12
hidden: true
kozy
2015/04/13 14:26:54
Done.
|
| + "parameters": [ |
| + { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." }, |
| + { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name for handler value. Handler value is not returned without this parameter specified." } |
| + ], |
| + "returns": [ |
| + { "name": "listeners", "type": "array", "items": { "$ref": "EventListener" }, "description": "Array of relevant listeners." } |
| + ], |
| + "description": "Returns event listeners of a given object." |
| + }, |
| + { |
| "name": "releaseObject", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to release." } |