Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1950403002: Add the ability to return descedant event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index f2d5a6bcef3ef9d33f7c1d540f54d6e74e070cdc..70ac4016ec10f692b1c1b467c810f1f8e2d49a5d 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -3918,7 +3918,8 @@
"name": "getEventListeners",
caseq 2016/05/20 01:00:23 I guess you also want to update LayoutTests/inspec
dtapuska 2016/05/26 20:37:44 That was the goal to expose it. But it is kind of
"hidden": true,
"parameters": [
- { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Identifier of the object to return listeners for." }
+ { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Identifier of the object to return listeners for." },
+ { "name": "descendants", "type": "boolean", "optional": true, "description": "True if should return all the event listeners in descendants including this node." }
caseq 2016/05/20 00:47:24 nit: "If set, also include event listeners on all
dtapuska 2016/05/26 20:37:44 Done.
],
"returns": [
{ "name": "listeners", "type": "array", "items": { "$ref": "EventListener" }, "description": "Array of relevant listeners." }

Powered by Google App Engine
This is Rietveld 408576698