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

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

Issue 2956423003: [DevTools] Provide Target.targetInfoChanged notification (Closed)
Patch Set: Created 3 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 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 46c04fc7b63a3d5295d2fc12c9e628d438cabcc4..a1d9555fde7562a3ea705a1ca613a708685d4d2a 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -3562,7 +3562,8 @@
{ "name": "targetId", "$ref": "TargetID" },
{ "name": "type", "type": "string" },
{ "name": "title", "type": "string" },
- { "name": "url", "type": "string" }
+ { "name": "url", "type": "string" },
+ { "name": "attached", "type": "boolean", "description": "Whether the target has an attached client." }
]
},
{
@@ -3577,7 +3578,7 @@
"commands": [
{
"name": "setDiscoverTargets",
- "description": "Controls whether to discover available targets and notify via <code>targetCreated/targetDestroyed</code> events.",
+ "description": "Controls whether to discover available targets and notify via <code>targetCreated/targetInfoChanged/targetDestroyed</code> events.",
"parameters": [
{ "name": "discover", "type": "boolean", "description": "Whether to discover available targets." }
]
@@ -3701,6 +3702,13 @@
{ "name": "targetInfo", "$ref": "TargetInfo" }
]
},
+ {
+ "name": "targetInfoChanged",
+ "description": "Issued when some information about a target has changed. This only happens between <code>targetCreated</code> and <code>targetDestroyed</code>.",
+ "parameters": [
+ { "name": "targetInfo", "$ref": "TargetInfo" }
+ ]
+ },
{
"name": "targetDestroyed",
"description": "Issued when a target is destroyed.",

Powered by Google App Engine
This is Rietveld 408576698