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

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: Extracted eventListenersTreeOutline.css 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
« no previous file with comments | « Source/devtools/front_end/sdk/Target.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 { "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)." }, 792 { "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)." },
793 { "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)." }, 793 { "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)." },
794 { "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." }, 794 { "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." },
795 { "name": "enumerable", "type": "boolean", "description": "T rue if this property shows up during enumeration of the properties on the corres ponding object." }, 795 { "name": "enumerable", "type": "boolean", "description": "T rue if this property shows up during enumeration of the properties on the corres ponding object." },
796 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, 796 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
797 { "name": "isOwn", "optional": true, "type": "boolean", "des cription": "True if the property is owned for the object.", "hidden": true }, 797 { "name": "isOwn", "optional": true, "type": "boolean", "des cription": "True if the property is owned for the object.", "hidden": true },
798 { "name": "symbol", "$ref": "RemoteObject", "optional": true , "description": "Property symbol object, if the property is of the <code>symbol </code> type.", "hidden": true } 798 { "name": "symbol", "$ref": "RemoteObject", "optional": true , "description": "Property symbol object, if the property is of the <code>symbol </code> type.", "hidden": true }
799 ] 799 ]
800 }, 800 },
801 { 801 {
802 "id": "EventListener",
803 "type": "object",
804 "hidden": true,
805 "properties": [
806 { "name": "type", "type": "string", "description": "<code>Ev entListener</code>'s type." },
807 { "name": "useCapture", "type": "boolean", "description": "< code>EventListener</code>'s useCapture." },
808 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Handler code location." },
809 { "name": "handler", "$ref": "Runtime.RemoteObject", "option al": true, "description": "Event handler function value." }
810 ],
811 "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."
812 },
813 {
802 "id": "InternalPropertyDescriptor", 814 "id": "InternalPropertyDescriptor",
803 "type": "object", 815 "type": "object",
804 "description": "Object internal property descriptor. This proper ty isn't normally visible in JavaScript code.", 816 "description": "Object internal property descriptor. This proper ty isn't normally visible in JavaScript code.",
805 "properties": [ 817 "properties": [
806 { "name": "name", "type": "string", "description": "Conventi onal property name." }, 818 { "name": "name", "type": "string", "description": "Conventi onal property name." },
807 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." } 819 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." }
808 ], 820 ],
809 "hidden": true 821 "hidden": true
810 }, 822 },
811 { 823 {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 { "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 }, 891 { "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 },
880 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e results." } 892 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e results." }
881 ], 893 ],
882 "returns": [ 894 "returns": [
883 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor" }, "description": "Object properties." }, 895 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor" }, "description": "Object properties." },
884 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern al object properties (only of the element itself).", "hidden": true } 896 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern al object properties (only of the element itself).", "hidden": true }
885 ], 897 ],
886 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object." 898 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object."
887 }, 899 },
888 { 900 {
901 "name": "getEventListeners",
902 "hidden": true,
903 "parameters": [
904 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to return properties for." },
905 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name for handler value. Handler value is not ret urned without this parameter specified." }
906 ],
907 "returns": [
908 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
909 ],
910 "description": "Returns event listeners of a given object."
911 },
912 {
889 "name": "releaseObject", 913 "name": "releaseObject",
890 "parameters": [ 914 "parameters": [
891 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." } 915 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." }
892 ], 916 ],
893 "description": "Releases remote object with given id." 917 "description": "Releases remote object with given id."
894 }, 918 },
895 { 919 {
896 "name": "releaseObjectGroup", 920 "name": "releaseObjectGroup",
897 "parameters": [ 921 "parameters": [
898 { "name": "objectGroup", "type": "string", "description": "S ymbolic object group name." } 922 { "name": "objectGroup", "type": "string", "description": "S ymbolic object group name." }
(...skipping 4207 matching lines...) Expand 10 before | Expand all | Expand 10 after
5106 ], 5130 ],
5107 "returns": [ 5131 "returns": [
5108 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5132 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5109 ], 5133 ],
5110 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5134 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5111 "hidden": true 5135 "hidden": true
5112 } 5136 }
5113 ] 5137 ]
5114 }] 5138 }]
5115 } 5139 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/Target.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698