mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky
This commit is contained in:
parent
6a86907c4e
commit
03c42e42be
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user