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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#self-caches
6 [
7 RuntimeEnabled=GlobalCacheStorage,
8 ImplementedAs=GlobalCacheStorage,
9 ] partial interface DedicatedWorkerGlobalScope {
10 // Inheritance of [Unforgeable] attributes is not supported. So we have to
11 // define the same unforgeable attributes in derived interfaces as well.
12 // See that {,Dedicated,Shared,Compositor,Service}WorkerGlobalScope redefine
13 // 'caches' attribute.
14 // Keep all the definitions consistent.
15 // TODO(yukishiino): Support inheritance of attributes defined on instance.
16 [Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabled=GlobalCacheStorag e, RaisesException] readonly attribute CacheStorage caches;
17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698