| Index: Source/modules/cachestorage/SharedWorkerCacheStorage.idl
|
| diff --git a/Source/modules/cachestorage/WindowCacheStorage.idl b/Source/modules/cachestorage/SharedWorkerCacheStorage.idl
|
| similarity index 51%
|
| copy from Source/modules/cachestorage/WindowCacheStorage.idl
|
| copy to Source/modules/cachestorage/SharedWorkerCacheStorage.idl
|
| index 7aadd81083018b278d1624eabf483d4e11ce9e59..93027c33485e07dc679ae32887a0503776b52d3f 100644
|
| --- a/Source/modules/cachestorage/WindowCacheStorage.idl
|
| +++ b/Source/modules/cachestorage/SharedWorkerCacheStorage.idl
|
| @@ -6,6 +6,12 @@
|
| [
|
| RuntimeEnabled=GlobalCacheStorage,
|
| ImplementedAs=GlobalCacheStorage,
|
| -] partial interface Window {
|
| +] partial interface SharedWorkerGlobalScope {
|
| + // 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;
|
| };
|
|
|