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

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

Issue 396963002: ServiceWorker: Bypass resolving a promise when ExecutionContext is gone (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 5 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: Source/modules/serviceworkers/ServiceWorkerContainer.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
index 20fbb0e2c45ddfaa25e0a8baf266025fe0bb9bb3..2d1e7b11e87f6abf35e4aabd8061bf4c6df0fe56 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
@@ -122,6 +122,10 @@ public:
ASSERT(!worker); // Anything passed here will be leaked.
return V8UndefinedType();
}
+ static void dispose(WebServiceWorker* worker)
+ {
+ ASSERT(!worker); // Anything passed here will be leaked.
+ }
private:
UndefinedValue();

Powered by Google App Engine
This is Rietveld 408576698