Skip to content
Pull request Compare This branch is 1090 commits behind GoogleChrome:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

onRestarted event

When an app is restored after being unexpectedly terminated (eg, when the browser restarts) it will be sent an onRestarted event which should restore the app to the state it was in when it was last running.

This demo app creates a new counter on launch and restores any existing counters across app restarts.


Something went wrong with that request. Please try again.