Re: [w3c/manifest] Adding protocol handlers (#972)

@diekus commented on this pull request.



> +                {
+                  "protocol": "web+music",
+                  "url": "/play?songId=%s"
+                },
+                {
+                  "protocol": "store",
+                  "url": "/buy?songId=%s"

Hola Marcos! So in this case "Web+music" would be accepted since the two accepted values for a protocol handler parameter during it's normalization are that: 

1. it is a value fomr the safelisted schemes you have share
2. it is a string that starts with "web+". This is the way to define 'custom' protocol handlers currently on the web and works with the `navigator.registerProtocolHandler()`.

-- 
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/pull/972#discussion_r638731453

Received on Tuesday, 25 May 2021 12:16:08 UTC