Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is my proposal relevant web-app-launch? #86

Open
hanguokai opened this issue Dec 10, 2022 · 1 comment
Open

Is my proposal relevant web-app-launch? #86

hanguokai opened this issue Dec 10, 2022 · 1 comment
Labels
future-api Issue discusses possible extensions to the current API.

Comments

@hanguokai
Copy link

Hi,

I have a new proposal for registerProtocolHandler() and service worker. You can see it here: whatwg/html#8596 and w3c/ServiceWorker#1665

I want to ask: is this proposal related to web-app-launch?

Thanks

@alancutter
Copy link
Collaborator

Yes it is, you most likely want "launch_handler": { "client_mode": "service-worker" }: https://github.com/WICG/web-app-launch/blob/main/launch_handler.md#possible-extensions-to-this-proposal
The reason for doing it at this level is so it can affect all launches, not just protocol handler launches.
I recommend not altering the existing registerProtocolHandler() API and instead pursuing this API.
Thanks for checking in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future-api Issue discusses possible extensions to the current API.
Projects
None yet
Development

No branches or pull requests

2 participants