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

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: 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 3883 matching lines...) Expand 10 before | Expand all | Expand 10 after
3894 "name": "removeXHRBreakpoint", 3894 "name": "removeXHRBreakpoint",
3895 "parameters": [ 3895 "parameters": [
3896 { "name": "url", "type": "string", "description": "Resource URL substring." } 3896 { "name": "url", "type": "string", "description": "Resource URL substring." }
3897 ], 3897 ],
3898 "description": "Removes breakpoint from XMLHttpRequest." 3898 "description": "Removes breakpoint from XMLHttpRequest."
3899 }, 3899 },
3900 { 3900 {
3901 "name": "getEventListeners", 3901 "name": "getEventListeners",
3902 "hidden": true, 3902 "hidden": true,
3903 "parameters": [ 3903 "parameters": [
3904 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." } 3904 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Identifier of the object to return listeners for." },
3905 { "name": "descendants", "type": "boolean", "optional": true , "description": "True if should return all the event listeners in descendants i ncluding this node." }
3905 ], 3906 ],
3906 "returns": [ 3907 "returns": [
3907 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } 3908 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
3908 ], 3909 ],
3909 "description": "Returns event listeners of the given object." 3910 "description": "Returns event listeners of the given object."
3910 } 3911 }
3911 ] 3912 ]
3912 }, 3913 },
3913 { 3914 {
3914 "domain": "Profiler", 3915 "domain": "Profiler",
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
5105 ], 5106 ],
5106 "returns": [ 5107 "returns": [
5107 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5108 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5108 ], 5109 ],
5109 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5110 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5110 "hidden": true 5111 "hidden": true
5111 } 5112 }
5112 ] 5113 ]
5113 }] 5114 }]
5114 } 5115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698