ServiceWorkerGlobalScope: serviceWorker プロパティ
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
メモ: この機能はサービスワーカー内でのみ利用可能です。
serviceWorker
は ServiceWorkerGlobalScope
インターフェイスの読み取り専用プロパティで、サービスワーカーを表す ServiceWorker
オブジェクトへの参照を返します。
値
ServiceWorker
オブジェクトです。
仕様書
Specification |
---|
Service Workers # dom-serviceworkerglobalscope-serviceworker |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
serviceWorker |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.