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

Side by Side Diff: Source/devtools/protocol.json

Issue 1042853004: [DevTools] Event Listeners Sidebar shows window listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test Created 5 years, 8 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 { "name": "get", "$ref": "RemoteObject", "optional": true, " description": "A function which serves as a getter for the property, or <code>un defined</code> if there is no getter (accessor descriptors only)." }, 802 { "name": "get", "$ref": "RemoteObject", "optional": true, " description": "A function which serves as a getter for the property, or <code>un defined</code> if there is no getter (accessor descriptors only)." },
803 { "name": "set", "$ref": "RemoteObject", "optional": true, " description": "A function which serves as a setter for the property, or <code>un defined</code> if there is no setter (accessor descriptors only)." }, 803 { "name": "set", "$ref": "RemoteObject", "optional": true, " description": "A function which serves as a setter for the property, or <code>un defined</code> if there is no setter (accessor descriptors only)." },
804 { "name": "configurable", "type": "boolean", "description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object." }, 804 { "name": "configurable", "type": "boolean", "description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object." },
805 { "name": "enumerable", "type": "boolean", "description": "T rue if this property shows up during enumeration of the properties on the corres ponding object." }, 805 { "name": "enumerable", "type": "boolean", "description": "T rue if this property shows up during enumeration of the properties on the corres ponding object." },
806 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, 806 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
807 { "name": "isOwn", "optional": true, "type": "boolean", "des cription": "True if the property is owned for the object.", "hidden": true }, 807 { "name": "isOwn", "optional": true, "type": "boolean", "des cription": "True if the property is owned for the object.", "hidden": true },
808 { "name": "symbol", "$ref": "RemoteObject", "optional": true , "description": "Property symbol object, if the property is of the <code>symbol </code> type.", "hidden": true } 808 { "name": "symbol", "$ref": "RemoteObject", "optional": true , "description": "Property symbol object, if the property is of the <code>symbol </code> type.", "hidden": true }
809 ] 809 ]
810 }, 810 },
811 { 811 {
812 "id": "EventListener",
813 "type": "object",
814 "hidden": true,
815 "properties": [
816 { "name": "type", "type": "string", "description": "<code>Ev entListener</code>'s type." },
817 { "name": "useCapture", "type": "boolean", "description": "< code>EventListener</code>'s useCapture." },
pfeldman 2015/04/10 08:45:12 I don't think you need this for non-DOM listeners.
kozy 2015/04/13 14:26:54 I suppose it can be useful for non-DOM listeners.
818 { "name": "isAttribute", "type": "boolean", "description": " <code>EventListener</code>'s isAttribute." },
pfeldman 2015/04/10 08:45:11 ditto
kozy 2015/04/13 14:26:54 Removed.
819 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Handler code location." },
pfeldman 2015/04/10 08:45:12 Lets drop this and use it from the handler.
kozy 2015/04/13 14:26:54 If we have some event with a lot of listener funct
820 { "name": "handler", "$ref": "Runtime.RemoteObject", "option al": true, "description": "Event handler function value." }
821 ],
822 "description": "DOM interaction is implemented in terms of mirro r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ e."
823 },
824 {
812 "id": "InternalPropertyDescriptor", 825 "id": "InternalPropertyDescriptor",
813 "type": "object", 826 "type": "object",
814 "description": "Object internal property descriptor. This proper ty isn't normally visible in JavaScript code.", 827 "description": "Object internal property descriptor. This proper ty isn't normally visible in JavaScript code.",
815 "properties": [ 828 "properties": [
816 { "name": "name", "type": "string", "description": "Conventi onal property name." }, 829 { "name": "name", "type": "string", "description": "Conventi onal property name." },
817 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." } 830 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." }
818 ], 831 ],
819 "hidden": true 832 "hidden": true
820 }, 833 },
821 { 834 {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 { "name": "accessorPropertiesOnly", "optional": true, "type" : "boolean", "description": "If true, returns accessor properties (with getter/s etter) only; internal properties are not returned either.", "hidden": true }, 902 { "name": "accessorPropertiesOnly", "optional": true, "type" : "boolean", "description": "If true, returns accessor properties (with getter/s etter) only; internal properties are not returned either.", "hidden": true },
890 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e results." } 903 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e results." }
891 ], 904 ],
892 "returns": [ 905 "returns": [
893 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor" }, "description": "Object properties." }, 906 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor" }, "description": "Object properties." },
894 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern al object properties (only of the element itself).", "hidden": true } 907 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern al object properties (only of the element itself).", "hidden": true }
895 ], 908 ],
896 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object." 909 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object."
897 }, 910 },
898 { 911 {
912 "name": "getEventListeners",
pfeldman 2015/04/10 08:45:12 hidden: true
kozy 2015/04/13 14:26:54 Done.
913 "parameters": [
914 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to return properties for." },
915 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name for handler value. Handler value is not ret urned without this parameter specified." }
916 ],
917 "returns": [
918 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
919 ],
920 "description": "Returns event listeners of a given object."
921 },
922 {
899 "name": "releaseObject", 923 "name": "releaseObject",
900 "parameters": [ 924 "parameters": [
901 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." } 925 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." }
902 ], 926 ],
903 "description": "Releases remote object with given id." 927 "description": "Releases remote object with given id."
904 }, 928 },
905 { 929 {
906 "name": "releaseObjectGroup", 930 "name": "releaseObjectGroup",
907 "parameters": [ 931 "parameters": [
908 { "name": "objectGroup", "type": "string", "description": "S ymbolic object group name." } 932 { "name": "objectGroup", "type": "string", "description": "S ymbolic object group name." }
(...skipping 4161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5070 ], 5094 ],
5071 "returns": [ 5095 "returns": [
5072 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5096 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5073 ], 5097 ],
5074 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5098 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5075 "hidden": true 5099 "hidden": true
5076 } 5100 }
5077 ] 5101 ]
5078 }] 5102 }]
5079 } 5103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698