Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/runtime/onrestartrequiredreason/index.md
6563 views
------{{AddonSidebar()}}
The reason that the {{WebExtAPIRef("runtime.onRestartRequired", "onRestartRequired")}} event is being dispatched.
Type
Values of this type are strings. Possible values are:
"app_update": The application is being updated to a newer version."os_update": The browser/OS is updated to a newer version."periodic": The system has run for more than the permitted uptime set in the enterprise policy.
Browser compatibility
{{Compat}}
{{WebExtExamples}}
Note: This API is based on Chromium's
chrome.runtimeAPI. This documentation is derived fromruntime.jsonin the Chromium code.