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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « Source/devtools/front_end/sdk/ServiceWorkerManager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4071 matching lines...) Expand 10 before | Expand all | Expand 10 after
4082 "description": "ServiceWorker registration.", 4082 "description": "ServiceWorker registration.",
4083 "properties": [ 4083 "properties": [
4084 { "name": "registrationId", "type": "string" }, 4084 { "name": "registrationId", "type": "string" },
4085 { "name": "scopeURL", "type": "string" }, 4085 { "name": "scopeURL", "type": "string" },
4086 { "name": "isDeleted", "type": "boolean", "optional": true } 4086 { "name": "isDeleted", "type": "boolean", "optional": true }
4087 ] 4087 ]
4088 }, 4088 },
4089 { 4089 {
4090 "id": "ServiceWorkerVersionRunningStatus", 4090 "id": "ServiceWorkerVersionRunningStatus",
4091 "type": "string", 4091 "type": "string",
4092 "hidden": true,
4093 "enum": ["stopped", "starting", "running", "stopping"] 4092 "enum": ["stopped", "starting", "running", "stopping"]
4094 }, 4093 },
4095 { 4094 {
4096 "id": "ServiceWorkerVersionStatus", 4095 "id": "ServiceWorkerVersionStatus",
4097 "type": "string", 4096 "type": "string",
4098 "hidden": true,
4099 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"] 4097 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"]
4100 }, 4098 },
4101 { 4099 {
4102 "id": "ServiceWorkerVersion", 4100 "id": "ServiceWorkerVersion",
4103 "type": "object", 4101 "type": "object",
4104 "description": "ServiceWorker version.", 4102 "description": "ServiceWorker version.",
4105 "properties": [ 4103 "properties": [
4106 { "name": "versionId", "type": "string" }, 4104 { "name": "versionId", "type": "string" },
4107 { "name": "registrationId", "type": "string" }, 4105 { "name": "registrationId", "type": "string" },
4108 { "name": "scriptURL", "type": "string" }, 4106 { "name": "scriptURL", "type": "string" },
4109 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" }, 4107 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" },
4110 { "name": "status", "$ref": "ServiceWorkerVersionStatus" } 4108 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }
4111 ] 4109 ]
4110 },
4111 {
4112 "id": "ServiceWorkerErrorMessage",
4113 "type": "object",
4114 "description": "ServiceWorker error message.",
4115 "properties": [
4116 { "name": "errorMessage", "type": "string" },
4117 { "name": "registrationId", "type": "string" },
4118 { "name": "versionId", "type": "string" },
4119 { "name": "sourceURL", "type": "string" },
4120 { "name": "lineNumber", "type": "integer" },
4121 { "name": "columnNumber", "type": "integer" }
4122 ]
4112 } 4123 }
4113 ], 4124 ],
4114 "commands": [ 4125 "commands": [
4115 { 4126 {
4116 "name": "enable", 4127 "name": "enable",
4117 "handlers": ["browser"] 4128 "handlers": ["browser"]
4118 }, 4129 },
4119 { 4130 {
4120 "name": "disable", 4131 "name": "disable",
4121 "handlers": ["browser"] 4132 "handlers": ["browser"]
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4194 { "name": "registrations", "type": "array", "items": { "$ref ": "ServiceWorkerRegistration" } } 4205 { "name": "registrations", "type": "array", "items": { "$ref ": "ServiceWorkerRegistration" } }
4195 ], 4206 ],
4196 "handlers": ["browser"] 4207 "handlers": ["browser"]
4197 }, 4208 },
4198 { 4209 {
4199 "name": "workerVersionUpdated", 4210 "name": "workerVersionUpdated",
4200 "parameters": [ 4211 "parameters": [
4201 { "name": "versions", "type": "array", "items": { "$ref": "S erviceWorkerVersion" } } 4212 { "name": "versions", "type": "array", "items": { "$ref": "S erviceWorkerVersion" } }
4202 ], 4213 ],
4203 "handlers": ["browser"] 4214 "handlers": ["browser"]
4215 },
4216 {
4217 "name": "workerErrorReported",
4218 "parameters": [
4219 { "name": "errorMessage", "$ref": "ServiceWorkerErrorMessage " }
4220 ],
4221 "handlers": ["browser"]
4204 } 4222 }
4205 ] 4223 ]
4206 }, 4224 },
4207 { 4225 {
4208 "domain": "Canvas", 4226 "domain": "Canvas",
4209 "hidden": true, 4227 "hidden": true,
4210 "types": [ 4228 "types": [
4211 { 4229 {
4212 "id": "ResourceId", 4230 "id": "ResourceId",
4213 "type": "string", 4231 "type": "string",
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
5066 ], 5084 ],
5067 "returns": [ 5085 "returns": [
5068 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5086 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5069 ], 5087 ],
5070 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5088 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5071 "hidden": true 5089 "hidden": true
5072 } 5090 }
5073 ] 5091 ]
5074 }] 5092 }]
5075 } 5093 }
OLDNEW
« 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