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

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

Issue 1032623008: Expose Cache Storage API in global window/worker scope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test verifying window/worker see same storage Created 5 years, 9 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/CacheStorage.idl
diff --git a/Source/modules/serviceworkers/CacheStorage.idl b/Source/modules/serviceworkers/CacheStorage.idl
index 252f69e68f2ac24c2fb012ff7bcc1a9aa60dcc6d..5cee9d7aafa4a52b035e956e43eb82a0e705fccc 100644
--- a/Source/modules/serviceworkers/CacheStorage.idl
+++ b/Source/modules/serviceworkers/CacheStorage.idl
@@ -5,7 +5,7 @@
// See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage
[
GarbageCollected,
- Exposed=ServiceWorker,
+ Exposed=(Window,Worker),
RuntimeEnabled=ServiceWorkerCache,
TypeChecking=Interface,
] interface CacheStorage {

Powered by Google App Engine
This is Rietveld 408576698