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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp

Issue 1970003004: Worker: Move close() from WorkerGlobalScope to derived interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add const Created 4 years, 7 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
Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
index 1811a8dea743038b7ec7123ac85903c9f1d2eccf..d13fe3294068adb6f49f6047b56694c5b2c5a56e 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
@@ -124,11 +124,6 @@ ServiceWorkerRegistration* ServiceWorkerGlobalScope::registration()
return m_registration;
}
-void ServiceWorkerGlobalScope::close(ExceptionState& exceptionState)
-{
- exceptionState.throwDOMException(InvalidAccessError, "Not supported.");
-}
-
ScriptPromise ServiceWorkerGlobalScope::skipWaiting(ScriptState* scriptState)
{
ExecutionContext* executionContext = scriptState->getExecutionContext();

Powered by Google App Engine
This is Rietveld 408576698