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

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: 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 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 3897 matching lines...) Expand 10 before | Expand all | Expand 10 after
3908 "description": "Sets breakpoint on XMLHttpRequest." 3908 "description": "Sets breakpoint on XMLHttpRequest."
3909 }, 3909 },
3910 { 3910 {
3911 "name": "removeXHRBreakpoint", 3911 "name": "removeXHRBreakpoint",
3912 "parameters": [ 3912 "parameters": [
3913 { "name": "url", "type": "string", "description": "Resource URL substring." } 3913 { "name": "url", "type": "string", "description": "Resource URL substring." }
3914 ], 3914 ],
3915 "description": "Removes breakpoint from XMLHttpRequest." 3915 "description": "Removes breakpoint from XMLHttpRequest."
3916 }, 3916 },
3917 { 3917 {
3918 "name": "getEventListeners", 3918 "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
3919 "hidden": true, 3919 "hidden": true,
3920 "parameters": [ 3920 "parameters": [
3921 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." } 3921 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." },
3922 { "name": "descendants", "type": "boolean", "optional": true , "description": "True if should return all the event listeners in descendants i ncluding 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.
3922 ], 3923 ],
3923 "returns": [ 3924 "returns": [
3924 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } 3925 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
3925 ], 3926 ],
3926 "description": "Returns event listeners of the given object." 3927 "description": "Returns event listeners of the given object."
3927 } 3928 }
3928 ] 3929 ]
3929 }, 3930 },
3930 { 3931 {
3931 "domain": "Profiler", 3932 "domain": "Profiler",
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
5157 "parameters": [ 5158 "parameters": [
5158 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5159 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5159 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5160 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5160 ], 5161 ],
5161 "description": "Clears storage for origin.", 5162 "description": "Clears storage for origin.",
5162 "handlers": ["browser"] 5163 "handlers": ["browser"]
5163 } 5164 }
5164 ] 5165 ]
5165 }] 5166 }]
5166 } 5167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698