OLD | NEW |
---|---|
(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 WorkerGlobalScope { | |
10 [CallWith=ScriptState, Unforgeable, MeasureAs=GlobalCacheStorage, RuntimeEnabl ed=GlobalCacheStorage, RaisesException] readonly attribute CacheStorage caches; | |
jkarlin
2015/03/27 20:06:26
MeasureAs is cool!
| |
11 }; | |
OLD | NEW |