[w3c/manifest] "install" event: possible name conflict with Service Workers (#502)

The Web App Manifest spec defines an event type [`"install"`](https://www.w3.org/TR/appmanifest/#oninstall-attribute) which is fired at the *window* object. The Service Workers spec defines an event type [`"install"`](https://www.w3.org/TR/service-workers/#service-worker-global-scope-install-event) which is fired at the `ServiceWorkerGlobalScope` object.

While these do not directly conflict (as they are fired at different objects), there is potential for confusion (for both web developers and browser developers). As one anecdote, in Chromium, the event objects for these two types of event are indistinguishable, so we have to take context into account (e.g., when logging the relative usage of these two features) to avoid conflating the two event types.

Since the concept of "installing" a service worker and "installing" a web app are totally unrelated, perhaps it is worth renaming this event to something different. Suggestions: `"register"`, `"installapp"`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/502

Received on Friday, 7 October 2016 03:53:29 UTC