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

Unified Diff: Source/modules/serviceworkers/NavigatorServiceWorker.idl

Issue 1305903007: Add ASSERT() to avoid accidental leaking ServiceWorkerContainer to cross origin context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/NavigatorServiceWorker.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/NavigatorServiceWorker.idl
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.idl b/Source/modules/serviceworkers/NavigatorServiceWorker.idl
index b7c95b3c933901a9a9489120af9fe5ffb1b59476..7ffe83836ecf834e19a8231fb34225e4bb1641e0 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.idl
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.idl
@@ -4,5 +4,5 @@
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#navigator-service-worker
partial interface Navigator {
- [RaisesException] readonly attribute ServiceWorkerContainer serviceWorker;
+ [RaisesException, CallWith=ExecutionContext] readonly attribute ServiceWorkerContainer serviceWorker;
};
« no previous file with comments | « Source/modules/serviceworkers/NavigatorServiceWorker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698