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

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: 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 4083 matching lines...) Expand 10 before | Expand all | Expand 10 after
4094 }, 4094 },
4095 { 4095 {
4096 "id": "ServiceWorkerVersionStatus", 4096 "id": "ServiceWorkerVersionStatus",
4097 "type": "string", 4097 "type": "string",
4098 "hidden": true, 4098 "hidden": true,
4099 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"] 4099 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"]
4100 }, 4100 },
4101 { 4101 {
4102 "id": "ServiceWorkerVersion", 4102 "id": "ServiceWorkerVersion",
4103 "type": "object", 4103 "type": "object",
4104 "hidden": true,
dgozman 2015/03/25 11:00:11 This whole domain is hidden, no need to mark indiv
horo 2015/03/25 14:26:33 Done.
4104 "description": "ServiceWorker version.", 4105 "description": "ServiceWorker version.",
4105 "properties": [ 4106 "properties": [
4106 { "name": "versionId", "type": "string" }, 4107 { "name": "versionId", "type": "string" },
4107 { "name": "registrationId", "type": "string" }, 4108 { "name": "registrationId", "type": "string" },
4108 { "name": "scriptURL", "type": "string" }, 4109 { "name": "scriptURL", "type": "string" },
4109 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" }, 4110 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" },
4110 { "name": "status", "$ref": "ServiceWorkerVersionStatus" } 4111 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }
4111 ] 4112 ]
4113 },
4114 {
4115 "id": "ServiceWorkerErrorMessage",
4116 "type": "object",
4117 "hidden": true,
4118 "description": "ServiceWorker error message.",
4119 "properties": [
4120 { "name": "errorMessage", "type": "string" },
4121 { "name": "registrationId", "type": "string" },
4122 { "name": "versionId", "type": "string" },
4123 { "name": "sourceURL", "type": "string" },
4124 { "name": "lineNumber", "type": "integer" },
4125 { "name": "columnNumber", "type": "integer" }
4126 ]
4112 } 4127 }
4113 ], 4128 ],
4114 "commands": [ 4129 "commands": [
4115 { 4130 {
4116 "name": "enable", 4131 "name": "enable",
4117 "handlers": ["browser"] 4132 "handlers": ["browser"]
4118 }, 4133 },
4119 { 4134 {
4120 "name": "disable", 4135 "name": "disable",
4121 "handlers": ["browser"] 4136 "handlers": ["browser"]
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4194 { "name": "registrations", "type": "array", "items": { "$ref ": "ServiceWorkerRegistration" } } 4209 { "name": "registrations", "type": "array", "items": { "$ref ": "ServiceWorkerRegistration" } }
4195 ], 4210 ],
4196 "handlers": ["browser"] 4211 "handlers": ["browser"]
4197 }, 4212 },
4198 { 4213 {
4199 "name": "workerVersionUpdated", 4214 "name": "workerVersionUpdated",
4200 "parameters": [ 4215 "parameters": [
4201 { "name": "versions", "type": "array", "items": { "$ref": "S erviceWorkerVersion" } } 4216 { "name": "versions", "type": "array", "items": { "$ref": "S erviceWorkerVersion" } }
4202 ], 4217 ],
4203 "handlers": ["browser"] 4218 "handlers": ["browser"]
4219 },
4220 {
4221 "name": "workerErrorReported",
4222 "parameters": [
4223 { "name": "errorMessage", "$ref": "ServiceWorkerErrorMessage " }
4224 ],
4225 "handlers": ["browser"]
4204 } 4226 }
4205 ] 4227 ]
4206 }, 4228 },
4207 { 4229 {
4208 "domain": "Canvas", 4230 "domain": "Canvas",
4209 "hidden": true, 4231 "hidden": true,
4210 "types": [ 4232 "types": [
4211 { 4233 {
4212 "id": "ResourceId", 4234 "id": "ResourceId",
4213 "type": "string", 4235 "type": "string",
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
5066 ], 5088 ],
5067 "returns": [ 5089 "returns": [
5068 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5090 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5069 ], 5091 ],
5070 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5092 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5071 "hidden": true 5093 "hidden": true
5072 } 5094 }
5073 ] 5095 ]
5074 }] 5096 }]
5075 } 5097 }
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