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

Unified Diff: Source/modules/serviceworkers/ServiceWorker.cpp

Issue 1194813003: Service Worker: Remove ServiceWorker.terminate() method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.h ('k') | Source/modules/serviceworkers/ServiceWorker.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorker.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorker.cpp b/Source/modules/serviceworkers/ServiceWorker.cpp
index b352fac8684bce92fc6da1ef3114385ffb99c317..cdc4ba7921f3d6a9a3351df32a78aef2f408091c 100644
--- a/Source/modules/serviceworkers/ServiceWorker.cpp
+++ b/Source/modules/serviceworkers/ServiceWorker.cpp
@@ -63,11 +63,6 @@ void ServiceWorker::postMessage(ExecutionContext* context, PassRefPtr<Serialized
m_outerWorker->postMessage(messageString, webChannels.leakPtr());
}
-void ServiceWorker::terminate(ExceptionState& exceptionState)
-{
- exceptionState.throwDOMException(InvalidAccessError, "Not supported.");
-}
-
void ServiceWorker::internalsTerminate()
{
m_outerWorker->terminate();
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.h ('k') | Source/modules/serviceworkers/ServiceWorker.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698