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

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

Issue 1257613003: bindings: Supports inheritance of [Unforgeable] attributes as accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made inherit_unforgeable_attributes more robust. 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
Index: Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl
diff --git a/Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl b/Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl
deleted file mode 100644
index 49aff4b029796ef2bbed5f3762ce51816a83bbd5..0000000000000000000000000000000000000000
--- a/Source/modules/cachestorage/DedicatedWorkerCacheStorage.idl
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#self-caches
-[
- RuntimeEnabled=GlobalCacheStorage,
- ImplementedAs=GlobalCacheStorage,
-] partial interface DedicatedWorkerGlobalScope {
- // 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;
-};

Powered by Google App Engine
This is Rietveld 408576698