ServiceWorkerRegistration
インターフェイスの onupdatefound
プロパティは、statechange
型のイベントが発生するたびに呼び出される EventListener
プロパティです。 ServiceWorkerRegistration.installing
プロパティが新しいサービスワーカーを取得するたびに発生します。
注: この機能は Web Worker で使用できます。
構文
serviceWorkerRegistration.onupdatefound = function() { ... };
仕様
仕様 | 状態 | コメント |
---|---|---|
Service Workers ServiceWorkerRegistration.onupdatefound の定義 |
草案 | 初期定義 |
ブラウザーの互換性
BCD tables only load in the browser
The compatibility table in 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.