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

Unified Diff: Source/modules/cachestorage/WorkerCacheStorage.idl

Issue 1193793003: bindings: Makes almost all attributes accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 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
« no previous file with comments | « Source/modules/cachestorage/SharedWorkerCacheStorage.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/cachestorage/WorkerCacheStorage.idl
diff --git a/Source/modules/cachestorage/WorkerCacheStorage.idl b/Source/modules/cachestorage/WorkerCacheStorage.idl
index 483f3992a507e6d7ac45fe9c5e8ffa93b540d9db..01e23b12179560425143d1f6f96b61da661baeae 100644
--- a/Source/modules/cachestorage/WorkerCacheStorage.idl
+++ b/Source/modules/cachestorage/WorkerCacheStorage.idl
@@ -7,5 +7,11 @@
RuntimeEnabled=GlobalCacheStorage,
ImplementedAs=GlobalCacheStorage,
] partial interface WorkerGlobalScope {
- [Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabled=GlobalCacheStorage, RaisesException] readonly attribute CacheStorage caches;
+ // Inheritance of [Unforgeable] attributes is not supported. So we have to
+ // define the same unforgeable attributes in derived interfaces as well.
+ // See that {,Dedicated,Shared,Compositor,Service}WorkerGlobalScope redefine
+ // 'caches' attribute.
+ // Keep all the definitions consistent.
+ // TODO(yukishiino): Support inheritance of attributes defined on instance.
+ [Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabled=GlobalCacheStorage, RaisesException] readonly attribute CacheStorage caches;
};
« no previous file with comments | « Source/modules/cachestorage/SharedWorkerCacheStorage.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698