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

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

Issue 1866213002: [DevTools] Move inspect from Inspector to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inspector-connection
Patch Set: Created 4 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.",
11 "handlers": ["browser", "renderer"] 11 "handlers": ["browser"]
12 }, 12 },
13 { 13 {
14 "name": "disable", 14 "name": "disable",
15 "description": "Disables inspector domain notifications." 15 "description": "Disables inspector domain notifications.",
16 "handlers": ["browser"]
16 } 17 }
17 ], 18 ],
18 "events": [ 19 "events": [
19 { 20 {
20 "name": "inspect",
21 "parameters": [
22 { "name": "object", "$ref": "Runtime.RemoteObject" },
23 { "name": "hints", "type": "object" }
24 ]
25 },
26 {
27 "name": "detached", 21 "name": "detached",
28 "description": "Fired when remote debugging connection is about to be terminated. Contains detach reason.", 22 "description": "Fired when remote debugging connection is about to be terminated. Contains detach reason.",
29 "parameters": [ 23 "parameters": [
30 { "name": "reason", "type": "string", "description": "The re ason why connection has been terminated." } 24 { "name": "reason", "type": "string", "description": "The re ason why connection has been terminated." }
31 ], 25 ],
32 "handlers": ["browser"] 26 "handlers": ["browser"]
33 }, 27 },
34 { 28 {
35 "name": "targetCrashed", 29 "name": "targetCrashed",
36 "description": "Fired when debugging target has crashed", 30 "description": "Fired when debugging target has crashed",
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 { 1032 {
1039 "name": "executionContextDestroyed", 1033 "name": "executionContextDestroyed",
1040 "parameters": [ 1034 "parameters": [
1041 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Id of the destroyed context" } 1035 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Id of the destroyed context" }
1042 ], 1036 ],
1043 "description": "Issued when execution context is destroyed." 1037 "description": "Issued when execution context is destroyed."
1044 }, 1038 },
1045 { 1039 {
1046 "name": "executionContextsCleared", 1040 "name": "executionContextsCleared",
1047 "description": "Issued when all executionContexts were cleared i n browser" 1041 "description": "Issued when all executionContexts were cleared i n browser"
1042 },
1043 {
1044 "name": "inspect",
pfeldman 2016/04/07 01:33:01 inspectRequested
dgozman 2016/04/07 18:30:35 Done.
1045 "parameters": [
1046 { "name": "object", "$ref": "RemoteObject" },
1047 { "name": "hints", "type": "object" }
1048 ]
1048 } 1049 }
1049 ] 1050 ]
1050 }, 1051 },
1051 { 1052 {
1052 "domain": "Console", 1053 "domain": "Console",
1053 "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.", 1054 "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.",
1054 "types": [ 1055 "types": [
1055 { 1056 {
1056 "id": "Timestamp", 1057 "id": "Timestamp",
1057 "type": "number", 1058 "type": "number",
(...skipping 4006 matching lines...) Expand 10 before | Expand all | Expand 10 after
5064 ], 5065 ],
5065 "returns": [ 5066 "returns": [
5066 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5067 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5067 ], 5068 ],
5068 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5069 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5069 "hidden": true 5070 "hidden": true
5070 } 5071 }
5071 ] 5072 ]
5072 }] 5073 }]
5073 } 5074 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698