| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index 6411b0f5e4c3b371822df7c74d479a1b27ca0e9d..4430e8ad6fcfd902fb96ceaaa74f763019084bf8 100644
|
| --- a/Source/devtools/protocol.json
|
| +++ b/Source/devtools/protocol.json
|
| @@ -1686,7 +1686,7 @@
|
| ]
|
| },
|
| {
|
| - "domain": "ServiceWorkerCache",
|
| + "domain": "CacheStorage",
|
| "hidden": true,
|
| "types": [
|
| {
|
| @@ -1697,14 +1697,26 @@
|
| { "name": "request", "type": "string", "description": "JSON-stringified request object." },
|
| { "name": "response", "type": "string", "description": "JSON-stringified response object." }
|
| ]
|
| + },
|
| + {
|
| + "id": "CacheId",
|
| + "type": "object",
|
| + "description": "Cache identifier.",
|
| + "properties": [
|
| + { "name": "securityOrigin", "type": "string", "description": "Security origin of the cache." },
|
| + { "name": "cacheName", "type": "string", "description": "The name of the cache." }
|
| + ]
|
| }
|
| ],
|
| "commands": [
|
| {
|
| "name": "requestCacheNames",
|
| "async": true,
|
| + "parameters": [
|
| + { "name": "securityOrigin", "type": "string", "description": "Security origin." }
|
| + ],
|
| "returns": [
|
| - { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." }
|
| + { "name": "cacheIds", "type": "array", "items": { "$ref": "CacheId" }, "description": "Cache ids for the security origin." }
|
| ],
|
| "description": "Requests cache names."
|
| },
|
| @@ -1712,7 +1724,7 @@
|
| "name": "requestEntries",
|
| "async": true,
|
| "parameters": [
|
| - { "name": "cacheName", "type": "string", "description": "Cache name." },
|
| + { "name": "cacheId", "$ref": "CacheId", "description": "Cache to get entries from." },
|
| { "name": "skipCount", "type": "integer", "description": "Number of records to skip." },
|
| { "name": "pageSize", "type": "integer", "description": "Number of records to fetch." }
|
| ],
|
| @@ -1726,7 +1738,7 @@
|
| "name": "deleteCache",
|
| "async": true,
|
| "parameters": [
|
| - { "name": "cacheName", "type": "string", "description": "Cache name." }
|
| + { "name": "cacheId", "$ref": "CacheId", "description": "Id of cache for deletion." }
|
| ],
|
| "description": "Deletes a cache."
|
| }
|
|
|