OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#self-caches | 5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#self-caches |
6 [ | 6 [ |
7 RuntimeEnabled=GlobalCacheStorage, | 7 RuntimeEnabled=GlobalCacheStorage, |
8 ImplementedAs=GlobalCacheStorage, | 8 ImplementedAs=GlobalCacheStorage, |
9 ] partial interface WorkerGlobalScope { | 9 ] partial interface WorkerGlobalScope { |
10 [CallWith=ScriptState, Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabl
ed=GlobalCacheStorage, RaisesException] readonly attribute CacheStorage caches; | 10 [Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabled=GlobalCacheStorage,
RaisesException] readonly attribute CacheStorage caches; |
11 }; | 11 }; |
OLD | NEW |