Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2015-10-24 23:32:15 -04:00
parent 5e5c55bfc1
commit 4013b09c3d
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ Window implements WindowModal;
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#self-caches
partial interface Window {
[Throws, Func="mozilla::dom::cache::CacheStorage::PrefEnabled"]
[Throws, Func="mozilla::dom::cache::CacheStorage::PrefEnabled", SameObject]
readonly attribute CacheStorage caches;
};

View File

@ -40,7 +40,7 @@ partial interface WorkerGlobalScope {
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#self-caches
partial interface WorkerGlobalScope {
[Throws, Func="mozilla::dom::cache::CacheStorage::PrefEnabled"]
[Throws, Func="mozilla::dom::cache::CacheStorage::PrefEnabled", SameObject]
readonly attribute CacheStorage caches;
};