Skip to content

Complexities w/ registerProtocolHandler seem confusing for developer & user. Simplification idea #286

@dmurph

Description

@dmurph

It seems like the duplication of functionality here is confusing for both developers & users:

  1. How does ordering work?
  2. Do icons apply to already registered protocol handling from tabs?
  3. When do tabs win? When not? How does the user change this?

I propose to help solve this that this manifest addition serves to just 'enhance' the existing register protocol handler API. So the website still has to use the existing API, but this manifest addition does the following:

  • robust way to attach icons to protocols (in cases of 'hub' apps that would handle multiple protocols, where the favicon doesn't serve well)
  • This also allows a nice 'uninstall' behavior, where on uninstall all of the protocol handlers are automatically unregistered. Very nice for the user
  • Keeps the user interaction for registered the handler (for some cases this might be nice)
  • Allows protocol handler existence & information to be available to entities like web app stores.
  • Possibility of pre-registering the handlers on install in trusted situations

Thoughts?

Metadata

Metadata

Assignees

Labels

URLProtocolHandlerLabel used for artifacts related to the URL Protocol Handler explainer.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions