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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2442083002: [DevTools] Merge Worker domain to Target, migrate clients. (Closed)
Patch Set: rebased all tests Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
index 502a1da736bf9e3247eb4e30da4819b1f34e16f0..1f472c210cc94a39b8e81a539a435668f6ef0ae0 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -3364,7 +3364,7 @@
{ "name": "autoAttach", "type": "boolean", "description": "Whether to auto-attach to related targets." },
{ "name": "waitForDebuggerOnStart", "type": "boolean", "description": "Whether to pause new targets when attaching to them. Use <code>Runtime.runIfWaitingForDebugger</code> to run paused targets." }
],
- "handlers": ["browser"]
+ "handlers": ["browser", "renderer"]
},
{
"name": "setAttachToFrames",
@@ -3388,7 +3388,7 @@
{ "name": "targetId", "type": "string" },
{ "name": "message", "type": "string" }
],
- "handlers": ["browser"]
+ "handlers": ["browser", "renderer"]
},
{
"name": "getTargetInfo",
@@ -3505,7 +3505,7 @@
{ "name": "targetInfo", "$ref": "TargetInfo" },
{ "name": "waitingForDebugger", "type": "boolean" }
],
- "handlers": ["browser"]
+ "handlers": ["browser", "renderer"]
},
{
"name": "detachedFromTarget",
@@ -3513,7 +3513,7 @@
"parameters": [
{ "name": "targetId", "$ref": "TargetID" }
],
- "handlers": ["browser"]
+ "handlers": ["browser", "renderer"]
},
{
"name": "receivedMessageFromTarget",
@@ -3522,56 +3522,7 @@
{ "name": "targetId", "$ref": "TargetID" },
{ "name": "message", "type": "string" }
],
- "handlers": ["browser"]
- }
- ]
- },
- {
- "domain": "Worker",
- "experimental": true,
- "types": [],
- "commands": [
- {
- "name": "enable"
- },
- {
- "name": "disable"
- },
- {
- "name": "sendMessageToWorker",
- "parameters": [
- { "name": "workerId", "type": "string" },
- { "name": "message", "type": "string" }
- ]
- },
- {
- "name": "setWaitForDebuggerOnStart",
- "parameters": [
- { "name": "value", "type": "boolean" }
- ]
- }
- ],
- "events": [
- {
- "name": "workerCreated",
- "parameters": [
- { "name": "workerId", "type": "string" },
- { "name": "url", "type": "string" },
- { "name": "waitingForDebugger", "type": "boolean" }
- ]
- },
- {
- "name": "workerTerminated",
- "parameters": [
- { "name": "workerId", "type": "string" }
- ]
- },
- {
- "name": "dispatchMessageFromWorker",
- "parameters": [
- { "name": "workerId", "type": "string" },
- { "name": "message", "type": "string" }
- ]
+ "handlers": ["browser", "renderer"]
}
]
},
@@ -4483,7 +4434,7 @@
{
"domain": "Log",
"description": "Provides access to log entries.",
- "dependencies": ["Runtime", "Network", "Worker"],
+ "dependencies": ["Runtime", "Network"],
"experimental": true,
"types": [
{
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp ('k') | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698