You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */
755
+
/**
756
+
* Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
757
+
* Available only in secure contexts.
758
+
*/
756
759
interfaceCache{
757
760
add(request: RequestInfo): Promise<void>;
758
761
addAll(requests: RequestInfo[]): Promise<void>;
@@ -768,7 +771,10 @@ declare var Cache: {
768
771
new(): Cache;
769
772
};
770
773
771
-
/** The storage for Cache objects. */
774
+
/**
775
+
* The storage for Cache objects.
776
+
* Available only in secure contexts.
777
+
*/
772
778
interfaceCacheStorage{
773
779
delete(cacheName: string): Promise<boolean>;
774
780
has(cacheName: string): Promise<boolean>;
@@ -876,6 +882,7 @@ declare var CountQueuingStrategy: {
876
882
877
883
/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */
/** This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. */
2445
+
/**
2446
+
* This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription.
/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */
2639
+
/**
2640
+
* This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.
/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */
2666
+
/**
2667
+
* The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.
/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */
2730
+
/**
2731
+
* This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin.
@@ -2743,6 +2775,7 @@ declare var SharedWorkerGlobalScope: {
2743
2775
new(): SharedWorkerGlobalScope;
2744
2776
};
2745
2777
2778
+
/** Available only in secure contexts. */
2746
2779
interfaceStorageManager{
2747
2780
estimate(): Promise<StorageEstimate>;
2748
2781
persisted(): Promise<boolean>;
@@ -2753,7 +2786,10 @@ declare var StorageManager: {
2753
2786
new(): StorageManager;
2754
2787
};
2755
2788
2756
-
/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */
2789
+
/**
2790
+
* This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).
/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
0 commit comments