I’m confused about the runtime.onInstalled
API: runtime.onInstalled - Mozilla | MDN
It says:
Fired when the extension is first installed, when the extension is updated to a new version, and when the browser is updated to a new version.
But in Chrome docs they use it to create context menus: About extension service workers | Chrome Extensions | Chrome for Developers
So it will fire with every browser start?
If so, then what value will be in the OnInstalledReason?