This article describes the lifecycle of a social service worker, how the social service lets the browser interact with a social media site, and so forth.
<<<this introduction will be updated to be more interesting soon>>>
Lifecycle of a social service worker
A social service provider is defined by a structured text file (JSON) containing a number of keyed URLs, a name, and an icon. URLs must be the same-origin as the JSON file if remotely loaded.
The service worker lives until terminated, either by browser shutdown or by an explicit control command from the user.
If the browser determines that termination of the service worker is necessary, all of the service-level content associated with the service worker is unloaded (that is, all
ServiceWindows and sidebars will be closed) as part of the termination.
If the browser starts (or restarts) the service during a normal user session, the service worker is fully loaded first, and sidebars are then instantiated on existing windows.
ServiceWindows (such as chats) are not restarted automatically.