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

Side by Side 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: Address nits Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 3901 matching lines...) Expand 10 before | Expand all | Expand 10 after
3912 "name": "removeXHRBreakpoint", 3912 "name": "removeXHRBreakpoint",
3913 "parameters": [ 3913 "parameters": [
3914 { "name": "url", "type": "string", "description": "Resource URL substring." } 3914 { "name": "url", "type": "string", "description": "Resource URL substring." }
3915 ], 3915 ],
3916 "description": "Removes breakpoint from XMLHttpRequest." 3916 "description": "Removes breakpoint from XMLHttpRequest."
3917 }, 3917 },
3918 { 3918 {
3919 "name": "getEventListeners", 3919 "name": "getEventListeners",
3920 "hidden": true, 3920 "hidden": true,
3921 "parameters": [ 3921 "parameters": [
3922 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." } 3922 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." },
3923 { "name": "descendants", "type": "boolean", "optional": true , "description": "If set, also include event listeners on all descendant nodes." }
3923 ], 3924 ],
3924 "returns": [ 3925 "returns": [
3925 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } 3926 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
3926 ], 3927 ],
3927 "description": "Returns event listeners of the given object." 3928 "description": "Returns event listeners of the given object."
3928 } 3929 }
3929 ] 3930 ]
3930 }, 3931 },
3931 { 3932 {
3932 "domain": "Profiler", 3933 "domain": "Profiler",
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
5168 "parameters": [ 5169 "parameters": [
5169 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5170 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5170 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5171 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5171 ], 5172 ],
5172 "description": "Clears storage for origin.", 5173 "description": "Clears storage for origin.",
5173 "handlers": ["browser"] 5174 "handlers": ["browser"]
5174 } 5175 }
5175 ] 5176 ]
5176 }] 5177 }]
5177 } 5178 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698