Index: Source/devtools/front_end/sdk/ServiceWorkerManager.js |
diff --git a/Source/devtools/front_end/sdk/ServiceWorkerManager.js b/Source/devtools/front_end/sdk/ServiceWorkerManager.js |
index 18651e3da921ba4b09437debb938a3e6a6b60656..4ec4add621392e0a350bac7962a3720aeefb6002 100644 |
--- a/Source/devtools/front_end/sdk/ServiceWorkerManager.js |
+++ b/Source/devtools/front_end/sdk/ServiceWorkerManager.js |
@@ -114,6 +114,38 @@ WebInspector.ServiceWorkerManager.prototype = { |
}, |
/** |
+ * @param {string} scope |
+ */ |
+ unregister: function(scope) |
+ { |
+ this.target().serviceWorkerAgent().unregister(scope); |
+ }, |
+ |
+ /** |
+ * @param {string} scope |
+ */ |
+ startWorker: function(scope) |
+ { |
+ this.target().serviceWorkerAgent().startWorker(scope); |
+ }, |
+ |
+ /** |
+ * @param {string} versionId |
+ */ |
+ stopWorker: function(versionId) |
+ { |
+ this.target().serviceWorkerAgent().stopWorker(versionId); |
+ }, |
+ |
+ /** |
+ * @param {string} versionId |
+ */ |
+ inspectWorker: function(versionId) |
+ { |
+ this.target().serviceWorkerAgent().inspectWorker(versionId); |
+ }, |
+ |
+ /** |
* @param {string} workerId |
* @param {string} url |
*/ |