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

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

Issue 1707043002: [DevTools] Support CommandLineAPI in snippets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 ], 1007 ],
1008 "description": "Compiles expression." 1008 "description": "Compiles expression."
1009 }, 1009 },
1010 { 1010 {
1011 "name": "runScript", 1011 "name": "runScript",
1012 "hidden": true, 1012 "hidden": true,
1013 "parameters": [ 1013 "parameters": [
1014 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to run." }, 1014 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to run." },
1015 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Specifies in which isolated context to perform script run. Eac h content script lives in an isolated context and this parameter is used to spec ify one of those contexts." }, 1015 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Specifies in which isolated context to perform script run. Eac h content script lives in an isolated context and this parameter is used to spec ify one of those contexts." },
1016 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, 1016 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." },
1017 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether script run should s top on exceptions and mute console. Overrides setPauseOnException state." } 1017 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether script run should s top on exceptions and mute console. Overrides setPauseOnException state." },
1018 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation." }
1018 ], 1019 ],
1019 "returns": [ 1020 "returns": [
1020 { "name": "result", "$ref": "RemoteObject", "description": " Run result." }, 1021 { "name": "result", "$ref": "RemoteObject", "description": " Run result." },
1021 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o ptional": true, "description": "Exception details."} 1022 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o ptional": true, "description": "Exception details."}
1022 ], 1023 ],
1023 "description": "Runs script with given id in a given context." 1024 "description": "Runs script with given id in a given context."
1024 } 1025 }
1025 ], 1026 ],
1026 "events": [ 1027 "events": [
1027 { 1028 {
(...skipping 4264 matching lines...) Expand 10 before | Expand all | Expand 10 after
5292 ], 5293 ],
5293 "returns": [ 5294 "returns": [
5294 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5295 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5295 ], 5296 ],
5296 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5297 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5297 "hidden": true 5298 "hidden": true
5298 } 5299 }
5299 ] 5300 ]
5300 }] 5301 }]
5301 } 5302 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698