blob: d0331be170eb8473b1b7f6257610419cc0061b80 [file] [log] [blame]
{
"domain": "ServiceWorker",
"description": "Actions and events related to the inspected service worker.",
"condition": "defined(ENABLE_SERVICE_WORKER) && ENABLE_SERVICE_WORKER",
"debuggableTypes": ["service-worker"],
"targetTypes": ["service-worker"],
"types": [
{
"id": "Configuration",
"type": "object",
"description": "ServiceWorker metadata and initial state.",
"properties": [
{ "name": "targetId", "type": "string" },
{ "name": "securityOrigin", "type": "string" },
{ "name": "url", "type": "string", "description": "ServiceWorker main script URL." },
{ "name": "content", "type": "string", "description": "ServiceWorker main script content." }
]
}
],
"commands": [
{
"name": "getInitializationInfo",
"description": "Returns the initialization information for this target.",
"returns": [
{ "name": "info", "$ref": "Configuration" }
]
}
]
}