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

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

Issue 1307883002: Add cross origin access check to navigator.serviceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/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;
};

Powered by Google App Engine
This is Rietveld 408576698