mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky
This commit is contained in:
parent
5e5c55bfc1
commit
4013b09c3d
@ -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