ServiceWorkerGlobalScope:registration 属性
>备注: 此特性仅在 Service Worker 中可用。
ServiceWorkerGlobalScope 接口的 registration 只读属性返回对 ServiceWorkerRegistration 对象(表示该 Service Worker 的注册信息)的引用。
此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
备注: 此特性仅在 Service Worker 中可用。
ServiceWorkerGlobalScope 接口的 registration 只读属性返回对 ServiceWorkerRegistration 对象(表示该 Service Worker 的注册信息)的引用。