填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

UnrecoverableStateEvent

An event emitted when the version of the app used by the service worker to serve this client is in a broken state that cannot be recovered from and a full page reload is required.

檢視"說明"...

      
      interface UnrecoverableStateEvent {
  type: 'UNRECOVERABLE_STATE'
  reason: string
}
    

參見

說明

For example, the service worker may not be able to retrieve a required resource, neither from the cache nor from the server. This could happen if a new version is deployed to the server and the service worker cache has been partially cleaned by the browser, removing some files of a previous app version but not all.

屬性

屬性說明
type: 'UNRECOVERABLE_STATE'
reason: string