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

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

Issue 2025953002: DevTools: generate class-per domain for remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "parameters": [ 66 "parameters": [
67 { "name": "level", "$ref": "PressureLevel", "description": " Memory pressure level of the notification." } 67 { "name": "level", "$ref": "PressureLevel", "description": " Memory pressure level of the notification." }
68 ], 68 ],
69 "handlers": ["browser"] 69 "handlers": ["browser"]
70 } 70 }
71 ] 71 ]
72 }, 72 },
73 { 73 {
74 "domain": "Page", 74 "domain": "Page",
75 "description": "Actions and events related to the inspected page belong to the page domain.", 75 "description": "Actions and events related to the inspected page belong to the page domain.",
76 "depends": ["Debugger", "DOM"], 76 "dependencies": ["Debugger", "DOM"],
77 "types": [ 77 "types": [
78 { 78 {
79 "id": "ResourceType", 79 "id": "ResourceType",
80 "type": "string", 80 "type": "string",
81 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc ript", "TextTrack", "XHR", "Fetch", "EventSource", "WebSocket", "Manifest", "Oth er"], 81 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc ript", "TextTrack", "XHR", "Fetch", "EventSource", "WebSocket", "Manifest", "Oth er"],
82 "description": "Resource type as it was perceived by the renderi ng engine." 82 "description": "Resource type as it was perceived by the renderi ng engine."
83 }, 83 },
84 { 84 {
85 "id": "FrameId", 85 "id": "FrameId",
86 "type": "string", 86 "type": "string",
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 { "name": "object", "$ref": "RemoteObject" }, 1077 { "name": "object", "$ref": "RemoteObject" },
1078 { "name": "hints", "type": "object" } 1078 { "name": "hints", "type": "object" }
1079 ], 1079 ],
1080 "hidden": true 1080 "hidden": true
1081 } 1081 }
1082 ] 1082 ]
1083 }, 1083 },
1084 { 1084 {
1085 "domain": "Console", 1085 "domain": "Console",
1086 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", 1086 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.",
1087 "depends": ["Runtime"], 1087 "dependencies": ["Runtime"],
1088 "types": [ 1088 "types": [
1089 { 1089 {
1090 "id": "Timestamp", 1090 "id": "Timestamp",
1091 "type": "number", 1091 "type": "number",
1092 "description": "Number of seconds since epoch.", 1092 "description": "Number of seconds since epoch.",
1093 "hidden": true 1093 "hidden": true
1094 }, 1094 },
1095 { 1095 {
1096 "id": "ConsoleMessage", 1096 "id": "ConsoleMessage",
1097 "type": "object", 1097 "type": "object",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 "description": "Issued when console is cleared. This happens eit her upon <code>clearMessages</code> command or after page navigation." 1152 "description": "Issued when console is cleared. This happens eit her upon <code>clearMessages</code> command or after page navigation."
1153 } 1153 }
1154 ] 1154 ]
1155 }, 1155 },
1156 { 1156 {
1157 "domain": "Security", 1157 "domain": "Security",
1158 "description": "Security", 1158 "description": "Security",
1159 "hidden": true, 1159 "hidden": true,
1160 "types": [ 1160 "types": [
1161 { 1161 {
1162 "id": "CertificateId",
1163 "type": "integer",
1164 "description": "An internal certificate ID value."
1165 },
1166 {
1162 "id": "SecurityState", 1167 "id": "SecurityState",
1163 "type": "string", 1168 "type": "string",
1164 "enum": ["unknown", "neutral", "insecure", "warning", "secure", "info"], 1169 "enum": ["unknown", "neutral", "insecure", "warning", "secure", "info"],
1165 "description": "The security level of a page or resource." 1170 "description": "The security level of a page or resource."
1166 }, 1171 },
1167 { 1172 {
1168 "id": "SecurityStateExplanation", 1173 "id": "SecurityStateExplanation",
1169 "type": "object", 1174 "type": "object",
1170 "properties": [ 1175 "properties": [
1171 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state representing the severity of the factor being explained." }, 1176 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state representing the severity of the factor being explained." },
1172 { "name": "summary", "type": "string", "description": "Short phrase describing the type of factor." }, 1177 { "name": "summary", "type": "string", "description": "Short phrase describing the type of factor." },
1173 { "name": "description", "type": "string", "description": "F ull text explanation of the factor." }, 1178 { "name": "description", "type": "string", "description": "F ull text explanation of the factor." },
1174 { "name": "certificateId", "$ref": "Network.CertificateId", "optional": true, "description": "Associated certificate id." } 1179 { "name": "certificateId", "$ref": "CertificateId", "optiona l": true, "description": "Associated certificate id." }
1175 ], 1180 ],
1176 "description": "An explanation of an factor contributing to the security state." 1181 "description": "An explanation of an factor contributing to the security state."
1177 }, 1182 },
1178 { 1183 {
1179 "id": "MixedContentStatus", 1184 "id": "MixedContentStatus",
1180 "type": "object", 1185 "type": "object",
1181 "properties": [ 1186 "properties": [
1182 { "name": "ranInsecureContent", "type": "boolean", "descript ion": "True if the page ran insecure content such as scripts." }, 1187 { "name": "ranInsecureContent", "type": "boolean", "descript ion": "True if the page ran insecure content such as scripts." },
1183 { "name": "displayedInsecureContent", "type": "boolean", "de scription": "True if the page displayed insecure content such as images." }, 1188 { "name": "displayedInsecureContent", "type": "boolean", "de scription": "True if the page displayed insecure content such as images." },
1184 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." }, 1189 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." },
(...skipping 24 matching lines...) Expand all
1209 { "name": "mixedContentStatus", "$ref": "MixedContentStatus" , "description": "Information about mixed content on the page.", "optional": tru e }, 1214 { "name": "mixedContentStatus", "$ref": "MixedContentStatus" , "description": "Information about mixed content on the page.", "optional": tru e },
1210 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS .", "optional": true } 1215 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS .", "optional": true }
1211 ], 1216 ],
1212 "handlers": ["browser"] 1217 "handlers": ["browser"]
1213 } 1218 }
1214 ] 1219 ]
1215 }, 1220 },
1216 { 1221 {
1217 "domain": "Network", 1222 "domain": "Network",
1218 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.", 1223 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.",
1219 "depends": ["Runtime"], 1224 "dependencies": ["Runtime", "Security"],
1220 "types": [ 1225 "types": [
1221 { 1226 {
1222 "id": "LoaderId", 1227 "id": "LoaderId",
1223 "type": "string", 1228 "type": "string",
1224 "description": "Unique loader identifier." 1229 "description": "Unique loader identifier."
1225 }, 1230 },
1226 { 1231 {
1227 "id": "RequestId", 1232 "id": "RequestId",
1228 "type": "string", 1233 "type": "string",
1229 "description": "Unique request identifier." 1234 "description": "Unique request identifier."
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 "properties": [ 1279 "properties": [
1275 { "name": "url", "type": "string", "description": "Request U RL." }, 1280 { "name": "url", "type": "string", "description": "Request U RL." },
1276 { "name": "method", "type": "string", "description": "HTTP r equest method." }, 1281 { "name": "method", "type": "string", "description": "HTTP r equest method." },
1277 { "name": "headers", "$ref": "Headers", "description": "HTTP request headers." }, 1282 { "name": "headers", "$ref": "Headers", "description": "HTTP request headers." },
1278 { "name": "postData", "type": "string", "optional": true, "d escription": "HTTP POST request data." }, 1283 { "name": "postData", "type": "string", "optional": true, "d escription": "HTTP POST request data." },
1279 { "name": "mixedContentType", "optional": true, "type": "str ing", "enum": ["blockable", "optionally-blockable", "none"], "description": "The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-c ontent/" }, 1284 { "name": "mixedContentType", "optional": true, "type": "str ing", "enum": ["blockable", "optionally-blockable", "none"], "description": "The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-c ontent/" },
1280 { "name": "initialPriority", "$ref": "ResourcePriority", "de scription": "Priority of the resource request at the time request is sent."} 1285 { "name": "initialPriority", "$ref": "ResourcePriority", "de scription": "Priority of the resource request at the time request is sent."}
1281 ] 1286 ]
1282 }, 1287 },
1283 { 1288 {
1284 "id": "CertificateId",
1285 "type": "integer",
1286 "description": "An internal certificate ID value."
1287 },
1288 {
1289 "id": "CertificateSubject", 1289 "id": "CertificateSubject",
1290 "type": "object", 1290 "type": "object",
1291 "description": "Subject of a certificate.", 1291 "description": "Subject of a certificate.",
1292 "properties": [ 1292 "properties": [
1293 { "name": "name", "type": "string", "description": "Certific ate subject name." }, 1293 { "name": "name", "type": "string", "description": "Certific ate subject name." },
1294 { "name": "sanDnsNames", "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Name (SAN) DNS names." }, 1294 { "name": "sanDnsNames", "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Name (SAN) DNS names." },
1295 { "name": "sanIpAddresses", "type": "array", "items": { "typ e": "string" }, "description": "Subject Alternative Name (SAN) IP addresses." } 1295 { "name": "sanIpAddresses", "type": "array", "items": { "typ e": "string" }, "description": "Subject Alternative Name (SAN) IP addresses." }
1296 ] 1296 ]
1297 }, 1297 },
1298 { 1298 {
(...skipping 19 matching lines...) Expand all
1318 }, 1318 },
1319 { 1319 {
1320 "id": "SecurityDetails", 1320 "id": "SecurityDetails",
1321 "type": "object", 1321 "type": "object",
1322 "description": "Security details about a request.", 1322 "description": "Security details about a request.",
1323 "properties": [ 1323 "properties": [
1324 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\")." }, 1324 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\")." },
1325 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." }, 1325 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." },
1326 { "name": "cipher", "type": "string", "description": "Cipher name." }, 1326 { "name": "cipher", "type": "string", "description": "Cipher name." },
1327 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." }, 1327 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." },
1328 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate ID value." }, 1328 { "name": "certificateId", "$ref": "Security.CertificateId", "description": "Certificate ID value." },
1329 { "name": "certificateValidationDetails", "$ref": "Certifica teValidationDetails", "optional": true, "description": "Validation details for t he request's certficate." } 1329 { "name": "certificateValidationDetails", "$ref": "Certifica teValidationDetails", "optional": true, "description": "Validation details for t he request's certficate." }
1330 ] 1330 ]
1331 }, 1331 },
1332 { 1332 {
1333 "id": "BlockedReason", 1333 "id": "BlockedReason",
1334 "type": "string", 1334 "type": "string",
1335 "description": "The reason why request was blocked.", 1335 "description": "The reason why request was blocked.",
1336 "enum": ["csp", "mixed-content", "origin", "inspector", "other"] , 1336 "enum": ["csp", "mixed-content", "origin", "inspector", "other"] ,
1337 "hidden": true 1337 "hidden": true
1338 }, 1338 },
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 { "name": "maxTotalSize", "type": "integer", "description": "Maximum total buffer size." }, 1595 { "name": "maxTotalSize", "type": "integer", "description": "Maximum total buffer size." },
1596 { "name": "maxResourceSize", "type": "integer", "description ": "Maximum per-resource size." } 1596 { "name": "maxResourceSize", "type": "integer", "description ": "Maximum per-resource size." }
1597 ], 1597 ],
1598 "description": "For testing.", 1598 "description": "For testing.",
1599 "hidden": true 1599 "hidden": true
1600 }, 1600 },
1601 { 1601 {
1602 "name": "getCertificateDetails", 1602 "name": "getCertificateDetails",
1603 "description": "Returns details for the given certificate.", 1603 "description": "Returns details for the given certificate.",
1604 "parameters": [ 1604 "parameters": [
1605 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "ID of the certificate to get details for." } 1605 { "name": "certificateId", "$ref": "Security.CertificateId", "description": "ID of the certificate to get details for." }
1606 ], 1606 ],
1607 "returns": [ 1607 "returns": [
1608 { "name": "result", "$ref": "CertificateDetails", "descripti on": "Certificate details." } 1608 { "name": "result", "$ref": "CertificateDetails", "descripti on": "Certificate details." }
1609 ], 1609 ],
1610 "handlers": ["browser"] 1610 "handlers": ["browser"]
1611 }, 1611 },
1612 { 1612 {
1613 "name": "showCertificateViewer", 1613 "name": "showCertificateViewer",
1614 "description": "Displays native dialog with the certificate deta ils.", 1614 "description": "Displays native dialog with the certificate deta ils.",
1615 "parameters": [ 1615 "parameters": [
1616 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate id." } 1616 { "name": "certificateId", "$ref": "Security.CertificateId", "description": "Certificate id." }
1617 ], 1617 ],
1618 "handlers": ["browser"] 1618 "handlers": ["browser"]
1619 } 1619 }
1620 ], 1620 ],
1621 "events": [ 1621 "events": [
1622 { 1622 {
1623 "name": "resourceChangedPriority", 1623 "name": "resourceChangedPriority",
1624 "description": "Fired when resource loading priority is changed" , 1624 "description": "Fired when resource loading priority is changed" ,
1625 "parameters": [ 1625 "parameters": [
1626 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1626 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 "name": "networkStateUpdated", 2242 "name": "networkStateUpdated",
2243 "parameters": [ 2243 "parameters": [
2244 { "name": "isNowOnline", "type": "boolean" } 2244 { "name": "isNowOnline", "type": "boolean" }
2245 ] 2245 ]
2246 } 2246 }
2247 ] 2247 ]
2248 }, 2248 },
2249 { 2249 {
2250 "domain": "DOM", 2250 "domain": "DOM",
2251 "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <co de>id</code> can be used to get additional information on the Node, resolve it i nto the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It i s client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corres ponding document elements as their child nodes.</p>", 2251 "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <co de>id</code> can be used to get additional information on the Node, resolve it i nto the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It i s client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corres ponding document elements as their child nodes.</p>",
2252 "depends": ["Runtime"], 2252 "dependencies": ["Runtime"],
2253 "types": [ 2253 "types": [
2254 { 2254 {
2255 "id": "NodeId", 2255 "id": "NodeId",
2256 "type": "integer", 2256 "type": "integer",
2257 "description": "Unique DOM node identifier." 2257 "description": "Unique DOM node identifier."
2258 }, 2258 },
2259 { 2259 {
2260 "id": "BackendNodeId", 2260 "id": "BackendNodeId",
2261 "type": "integer", 2261 "type": "integer",
2262 "description": "Unique DOM node identifier used to reference a n ode that may not have been pushed to the front-end.", 2262 "description": "Unique DOM node identifier used to reference a n ode that may not have been pushed to the front-end.",
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
2922 {"name": "nodeId", "$ref": "NodeId"} 2922 {"name": "nodeId", "$ref": "NodeId"}
2923 ], 2923 ],
2924 "hidden": true 2924 "hidden": true
2925 } 2925 }
2926 ] 2926 ]
2927 }, 2927 },
2928 { 2928 {
2929 "domain": "CSS", 2929 "domain": "CSS",
2930 "hidden": true, 2930 "hidden": true,
2931 "description": "This domain exposes CSS read/write operations. All CSS o bjects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su bsequently load the required stylesheet contents using the <code>getStyleSheet[T ext]()</code> methods.", 2931 "description": "This domain exposes CSS read/write operations. All CSS o bjects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su bsequently load the required stylesheet contents using the <code>getStyleSheet[T ext]()</code> methods.",
2932 "depends": ["DOM"], 2932 "dependencies": ["DOM"],
2933 "types": [ 2933 "types": [
2934 { 2934 {
2935 "id": "StyleSheetId", 2935 "id": "StyleSheetId",
2936 "type": "string" 2936 "type": "string"
2937 }, 2937 },
2938 { 2938 {
2939 "id": "StyleSheetOrigin", 2939 "id": "StyleSheetOrigin",
2940 "type": "string", 2940 "type": "string",
2941 "enum": ["injected", "user-agent", "inspector", "regular"], 2941 "enum": ["injected", "user-agent", "inspector", "regular"],
2942 "description": "Stylesheet type: \"injected\" for stylesheets in jected via extension, \"user-agent\" for user-agent stylesheets, \"inspector\" f or stylesheets created by the inspector (i.e. those holding the \"via inspector\ " rules), \"regular\" for regular stylesheets." 2942 "description": "Stylesheet type: \"injected\" for stylesheets in jected via extension, \"user-agent\" for user-agent stylesheets, \"inspector\" f or stylesheets created by the inspector (i.e. those holding the \"via inspector\ " rules), \"regular\" for regular stylesheets."
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
3400 "parameters": [ 3400 "parameters": [
3401 { "name": "handle", "$ref": "StreamHandle", "description": " Handle of the stream to close." } 3401 { "name": "handle", "$ref": "StreamHandle", "description": " Handle of the stream to close." }
3402 ], 3402 ],
3403 "handlers": ["browser"] 3403 "handlers": ["browser"]
3404 } 3404 }
3405 ] 3405 ]
3406 }, 3406 },
3407 { 3407 {
3408 "domain": "Debugger", 3408 "domain": "Debugger",
3409 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.", 3409 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.",
3410 "depends": ["Runtime"], 3410 "dependencies": ["Runtime"],
3411 "types": [ 3411 "types": [
3412 { 3412 {
3413 "id": "BreakpointId", 3413 "id": "BreakpointId",
3414 "type": "string", 3414 "type": "string",
3415 "description": "Breakpoint identifier." 3415 "description": "Breakpoint identifier."
3416 }, 3416 },
3417 { 3417 {
3418 "id": "CallFrameId", 3418 "id": "CallFrameId",
3419 "type": "string", 3419 "type": "string",
3420 "description": "Call frame identifier." 3420 "description": "Call frame identifier."
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
3829 }, 3829 },
3830 { 3830 {
3831 "name": "resumed", 3831 "name": "resumed",
3832 "description": "Fired when the virtual machine resumed execution ." 3832 "description": "Fired when the virtual machine resumed execution ."
3833 } 3833 }
3834 ] 3834 ]
3835 }, 3835 },
3836 { 3836 {
3837 "domain": "DOMDebugger", 3837 "domain": "DOMDebugger",
3838 "description": "DOM debugging allows setting breakpoints on particular D OM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.", 3838 "description": "DOM debugging allows setting breakpoints on particular D OM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.",
3839 "dependencies": ["DOM", "Debugger"],
3839 "types": [ 3840 "types": [
3840 { 3841 {
3841 "id": "DOMBreakpointType", 3842 "id": "DOMBreakpointType",
3842 "type": "string", 3843 "type": "string",
3843 "enum": ["subtree-modified", "attribute-modified", "node-removed "], 3844 "enum": ["subtree-modified", "attribute-modified", "node-removed "],
3844 "description": "DOM breakpoint type." 3845 "description": "DOM breakpoint type."
3845 }, 3846 },
3846 { 3847 {
3847 "id": "EventListener", 3848 "id": "EventListener",
3848 "type": "object", 3849 "type": "object",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
3939 "depends": ["Runtime"], 3940 "dependencies": ["Runtime", "Debugger"],
3940 "hidden": true, 3941 "hidden": true,
3941 "types": [ 3942 "types": [
3942 { 3943 {
3943 "id": "CPUProfileNode", 3944 "id": "CPUProfileNode",
3944 "type": "object", 3945 "type": "object",
3945 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.", 3946 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.",
3946 "properties": [ 3947 "properties": [
3947 { "name": "functionName", "type": "string", "description": " Function name." }, 3948 { "name": "functionName", "type": "string", "description": " Function name." },
3948 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." }, 3949 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." },
3949 { "name": "url", "type": "string", "description": "URL." }, 3950 { "name": "url", "type": "string", "description": "URL." },
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
4020 { "name": "id", "type": "string" }, 4021 { "name": "id", "type": "string" },
4021 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." }, 4022 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." },
4022 { "name": "profile", "$ref": "CPUProfile" }, 4023 { "name": "profile", "$ref": "CPUProfile" },
4023 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as argunet to console.profile()." } 4024 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as argunet to console.profile()." }
4024 ] 4025 ]
4025 } 4026 }
4026 ] 4027 ]
4027 }, 4028 },
4028 { 4029 {
4029 "domain": "HeapProfiler", 4030 "domain": "HeapProfiler",
4030 "depends": ["Runtime"], 4031 "dependencies": ["Runtime"],
4031 "hidden": true, 4032 "hidden": true,
4032 "types": [ 4033 "types": [
4033 { 4034 {
4034 "id": "HeapSnapshotObjectId", 4035 "id": "HeapSnapshotObjectId",
4035 "type": "string", 4036 "type": "string",
4036 "description": "Heap snapshot object id." 4037 "description": "Heap snapshot object id."
4037 }, 4038 },
4038 { 4039 {
4039 "id": "SamplingHeapProfileNode", 4040 "id": "SamplingHeapProfileNode",
4040 "type": "object", 4041 "type": "object",
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
4571 "description": "Synthesizes a tap gesture over a time period by issuing appropriate touch events.", 4572 "description": "Synthesizes a tap gesture over a time period by issuing appropriate touch events.",
4572 "hidden": true, 4573 "hidden": true,
4573 "handlers": ["browser"] 4574 "handlers": ["browser"]
4574 } 4575 }
4575 ], 4576 ],
4576 "events": [] 4577 "events": []
4577 }, 4578 },
4578 { 4579 {
4579 "domain": "LayerTree", 4580 "domain": "LayerTree",
4580 "hidden": true, 4581 "hidden": true,
4582 "dependencies": ["DOM"],
4581 "types": [ 4583 "types": [
4582 { 4584 {
4583 "id": "LayerId", 4585 "id": "LayerId",
4584 "type": "string", 4586 "type": "string",
4585 "description": "Unique Layer identifier." 4587 "description": "Unique Layer identifier."
4586 }, 4588 },
4587 { 4589 {
4588 "id": "SnapshotId", 4590 "id": "SnapshotId",
4589 "type": "string", 4591 "type": "string",
4590 "description": "Unique snapshot identifier." 4592 "description": "Unique snapshot identifier."
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
4852 { "name": "eventCount", "type": "number", "optional": true, "description": "An approximate number of events in the trace log." }, 4854 { "name": "eventCount", "type": "number", "optional": true, "description": "An approximate number of events in the trace log." },
4853 { "name": "value", "type": "number", "optional": true, "desc ription": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." } 4855 { "name": "value", "type": "number", "optional": true, "desc ription": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." }
4854 ], 4856 ],
4855 "handlers": ["browser"] 4857 "handlers": ["browser"]
4856 } 4858 }
4857 ] 4859 ]
4858 }, 4860 },
4859 { 4861 {
4860 "domain": "Animation", 4862 "domain": "Animation",
4861 "hidden": true, 4863 "hidden": true,
4862 "depends": ["Runtime", "DOM"], 4864 "dependencies": ["Runtime", "DOM"],
4863 "types": [ 4865 "types": [
4864 { 4866 {
4865 "id": "Animation", 4867 "id": "Animation",
4866 "type": "object", 4868 "type": "object",
4867 "hidden": true, 4869 "hidden": true,
4868 "properties": [ 4870 "properties": [
4869 { "name": "id", "type": "string", "description": "<code>Anim ation</code>'s id." }, 4871 { "name": "id", "type": "string", "description": "<code>Anim ation</code>'s id." },
4870 { "name": "name", "type": "string", "description": "<code>An imation</code>'s name." }, 4872 { "name": "name", "type": "string", "description": "<code>An imation</code>'s name." },
4871 { "name": "pausedState", "type": "boolean", "hidden": "true" , "description": "<code>Animation</code>'s internal paused state." }, 4873 { "name": "pausedState", "type": "boolean", "hidden": "true" , "description": "<code>Animation</code>'s internal paused state." },
4872 { "name": "playState", "type": "string", "description": "<co de>Animation</code>'s play state." }, 4874 { "name": "playState", "type": "string", "description": "<co de>Animation</code>'s play state." },
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
5013 "parameters": [ 5015 "parameters": [
5014 { "name": "id", "type": "string", "description": "Id of the animation that was cancelled."} 5016 { "name": "id", "type": "string", "description": "Id of the animation that was cancelled."}
5015 ], 5017 ],
5016 "description": "Event for when an animation has been cancelled." 5018 "description": "Event for when an animation has been cancelled."
5017 } 5019 }
5018 ] 5020 ]
5019 }, 5021 },
5020 { 5022 {
5021 "domain": "Accessibility", 5023 "domain": "Accessibility",
5022 "hidden": true, 5024 "hidden": true,
5023 "depends": ["DOM"], 5025 "dependencies": ["DOM"],
5024 "types": [ 5026 "types": [
5025 { 5027 {
5026 "id": "AXNodeId", 5028 "id": "AXNodeId",
5027 "type": "string", 5029 "type": "string",
5028 "description": "Unique accessibility node identifier." 5030 "description": "Unique accessibility node identifier."
5029 }, 5031 },
5030 { 5032 {
5031 "id": "AXValueType", 5033 "id": "AXValueType",
5032 "type": "string", 5034 "type": "string",
5033 "enum": [ "boolean", "tristate", "booleanOrUndefined", "idref", "idrefList", "integer", "node", "nodeList", "number", "string", "computedString" , "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined" ], 5035 "enum": [ "boolean", "tristate", "booleanOrUndefined", "idref", "idrefList", "integer", "node", "nodeList", "number", "string", "computedString" , "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined" ],
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
5178 "parameters": [ 5180 "parameters": [
5179 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5181 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5180 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5182 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5181 ], 5183 ],
5182 "description": "Clears storage for origin.", 5184 "description": "Clears storage for origin.",
5183 "handlers": ["browser"] 5185 "handlers": ["browser"]
5184 } 5186 }
5185 ] 5187 ]
5186 }] 5188 }]
5187 } 5189 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698