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

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 pfeldman's comments 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 3907 matching lines...) Expand 10 before | Expand all | Expand 10 after
3918 "name": "removeXHRBreakpoint", 3918 "name": "removeXHRBreakpoint",
3919 "parameters": [ 3919 "parameters": [
3920 { "name": "url", "type": "string", "description": "Resource URL substring." } 3920 { "name": "url", "type": "string", "description": "Resource URL substring." }
3921 ], 3921 ],
3922 "description": "Removes breakpoint from XMLHttpRequest." 3922 "description": "Removes breakpoint from XMLHttpRequest."
3923 }, 3923 },
3924 { 3924 {
3925 "name": "getEventListeners", 3925 "name": "getEventListeners",
3926 "hidden": true, 3926 "hidden": true,
3927 "parameters": [ 3927 "parameters": [
3928 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." } 3928 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." },
3929 { "name": "descendants", "type": "boolean", "optional": true , "description": "If set, also include event listeners on all descendant nodes." }
3929 ], 3930 ],
3930 "returns": [ 3931 "returns": [
3931 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } 3932 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
3932 ], 3933 ],
3933 "description": "Returns event listeners of the given object." 3934 "description": "Returns event listeners of the given object."
3934 } 3935 }
3935 ] 3936 ]
3936 }, 3937 },
3937 { 3938 {
3938 "domain": "Profiler", 3939 "domain": "Profiler",
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
5178 "parameters": [ 5179 "parameters": [
5179 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5180 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5180 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5181 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5181 ], 5182 ],
5182 "description": "Clears storage for origin.", 5183 "description": "Clears storage for origin.",
5183 "handlers": ["browser"] 5184 "handlers": ["browser"]
5184 } 5185 }
5185 ] 5186 ]
5186 }] 5187 }]
5187 } 5188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698