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

Unified Diff: Source/devtools/protocol.json

Issue 1036743003: Add ServiceWorkerErrorMessage to ServiceWorker DevTool's protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove ""hidden": true," Created 5 years, 9 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
« no previous file with comments | « Source/devtools/front_end/sdk/ServiceWorkerManager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 6f45ce7d3b46e46f36ba2d2e49dce1beb90469a0..c6e67c0fe39fdbcb7ce09c4cb10b36beab5a3bd8 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4089,13 +4089,11 @@
{
"id": "ServiceWorkerVersionRunningStatus",
"type": "string",
- "hidden": true,
"enum": ["stopped", "starting", "running", "stopping"]
},
{
"id": "ServiceWorkerVersionStatus",
"type": "string",
- "hidden": true,
"enum": ["new", "installing", "installed", "activating", "activated", "redundant"]
},
{
@@ -4109,6 +4107,19 @@
{ "name": "runningStatus", "$ref": "ServiceWorkerVersionRunningStatus" },
{ "name": "status", "$ref": "ServiceWorkerVersionStatus" }
]
+ },
+ {
+ "id": "ServiceWorkerErrorMessage",
+ "type": "object",
+ "description": "ServiceWorker error message.",
+ "properties": [
+ { "name": "errorMessage", "type": "string" },
+ { "name": "registrationId", "type": "string" },
+ { "name": "versionId", "type": "string" },
+ { "name": "sourceURL", "type": "string" },
+ { "name": "lineNumber", "type": "integer" },
+ { "name": "columnNumber", "type": "integer" }
+ ]
}
],
"commands": [
@@ -4201,6 +4212,13 @@
{ "name": "versions", "type": "array", "items": { "$ref": "ServiceWorkerVersion" } }
],
"handlers": ["browser"]
+ },
+ {
+ "name": "workerErrorReported",
+ "parameters": [
+ { "name": "errorMessage", "$ref": "ServiceWorkerErrorMessage" }
+ ],
+ "handlers": ["browser"]
}
]
},
« no previous file with comments | « Source/devtools/front_end/sdk/ServiceWorkerManager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698