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

Side by Side Diff: Source/devtools/protocol.json

Issue 984723003: Implement ServiceWorkerRegistration related DevTools events [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: change to push model 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 4019 matching lines...) Expand 10 before | Expand all | Expand 10 after
4030 "parameters": [ 4030 "parameters": [
4031 { "name": "workerId", "type": "string" }, 4031 { "name": "workerId", "type": "string" },
4032 { "name": "message", "type": "string" } 4032 { "name": "message", "type": "string" }
4033 ] 4033 ]
4034 } 4034 }
4035 ] 4035 ]
4036 }, 4036 },
4037 { 4037 {
4038 "domain": "ServiceWorker", 4038 "domain": "ServiceWorker",
4039 "hidden": true, 4039 "hidden": true,
4040 "types": [], 4040 "types": [
4041 {
4042 "id": "ServiceWorkerRegistration",
4043 "type": "object",
4044 "description": "ServiceWorker registration.",
4045 "properties": [
4046 { "name": "registrationId", "type": "string" },
4047 { "name": "scopeURL", "type": "string" },
4048 { "name": "activeVersion", "optional": true, "$ref": "Servic eWorkerVersion" },
4049 { "name": "waitingVersion", "optional": true, "$ref": "Servi ceWorkerVersion" },
4050 { "name": "installingVersion", "optional": true, "$ref": "Se rviceWorkerVersion" }
4051 ]
4052 },
4053 {
4054 "id": "ServiceWorkerVersion",
4055 "type": "object",
4056 "description": "ServiceWorker version.",
4057 "properties": [
4058 { "name": "versionId", "type": "string" },
4059 { "name": "registrationId", "type": "string" },
4060 { "name": "scriptURL", "type": "string" },
4061 { "name": "runningStatus", "type": "string", "enum": ["stopp ed", "starting", "running", "stopping"] },
4062 { "name": "status", "type": "string", "enum": ["new", "insta lling", "installed", "activating", "activated", "redundant"] }
4063 ]
4064 }
4065 ],
4041 "commands": [ 4066 "commands": [
4042 { 4067 {
4043 "name": "enable", 4068 "name": "enable",
4044 "handlers": ["browser"] 4069 "handlers": ["browser"]
4045 }, 4070 },
4046 { 4071 {
4047 "name": "disable", 4072 "name": "disable",
4048 "handlers": ["browser"] 4073 "handlers": ["browser"]
4049 }, 4074 },
4050 { 4075 {
(...skipping 21 matching lines...) Expand all
4072 ], 4097 ],
4073 "handlers": ["browser"] 4098 "handlers": ["browser"]
4074 }, 4099 },
4075 { 4100 {
4076 "name": "dispatchMessage", 4101 "name": "dispatchMessage",
4077 "parameters": [ 4102 "parameters": [
4078 { "name": "workerId", "type": "string" }, 4103 { "name": "workerId", "type": "string" },
4079 { "name": "message", "type": "string" } 4104 { "name": "message", "type": "string" }
4080 ], 4105 ],
4081 "handlers": ["browser"] 4106 "handlers": ["browser"]
4107 },
4108 {
4109 "name": "workerRegistrationUpdated",
4110 "parameters": [
4111 { "name": "registrations", "type": "array", "items": { "$ref ": "ServiceWorkerRegistration" } }
4112 ],
4113 "handlers": ["browser"]
4114 },
4115 {
4116 "name": "workerVersionUpdated",
4117 "parameters": [
4118 { "name": "versions", "type": "array", "items": { "$ref": "S erviceWorkerVersion" } }
4119 ],
4120 "handlers": ["browser"]
4121 },
4122 {
4123 "name": "workerRegistrationDeleted",
4124 "parameters": [
4125 { "name": "registrationId", "type": "string" }
4126 ],
4127 "handlers": ["browser"]
4082 } 4128 }
4083 ] 4129 ]
4084 }, 4130 },
4085 { 4131 {
4086 "domain": "Canvas", 4132 "domain": "Canvas",
4087 "hidden": true, 4133 "hidden": true,
4088 "types": [ 4134 "types": [
4089 { 4135 {
4090 "id": "ResourceId", 4136 "id": "ResourceId",
4091 "type": "string", 4137 "type": "string",
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
4857 ], 4903 ],
4858 "returns": [ 4904 "returns": [
4859 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4905 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4860 ], 4906 ],
4861 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4907 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4862 "hidden": true 4908 "hidden": true
4863 } 4909 }
4864 ] 4910 ]
4865 }] 4911 }]
4866 } 4912 }
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