Extend list of URL schemes that can be overridden via registerProtocolHandler() to include "matrix"
Similar changes were discussed in these previous blink-dev threads:
https://groups.google.com/a/chromium.org/g/blink-dev/c/29sFh4tTdcs
https://groups.google.com/a/chromium.org/g/blink-dev/c/7nHTRUP1EGY
Gecko: No signal
I cannot speak for Mozilla, but as I see they implemented it and
supported the WHATWG change:
https://bugzilla.mozilla.org/show_bug.cgi?id=1688030
https://github.com/whatwg/html/pull/6320
WebKit: No signal
registerProtocolHandler() is not supported there are various old
bugs and threads ( https://bugs.webkit.org/show_bug.cgi?id=92726
). IIUC the WebKit people would like to keep the list minimal.
-- Frédéric Wang
> Matrix is an open and secure communication protocol, designed for an
open federation of servers, much like e-mail or xmpp.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwL3Tsmke4566cO08cUKfx6N1QW%3Dn3G0t8ugUv9ArN1YDw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Thanks for the LGTMs!Here is a better justification for why matrix should be allowed in registerProtocolHandler:The matrix URI scheme allows for rich context to be passed to a multitude of Matrix client websites, such as Fluffychat. As Chris pointed out, there is a large number of matrix users. The HTML spec PR has comments and reactions from several users and the matrix-doc repo has >500 stars.> Based on that, LGTM1 to ship, contingent on asking Webkit for a signal. Joey can you do that?I noticed that the HTML spec PR says that WebKit doesn't support registerProtocolHandler in the first place.I found a WebKit bug about registerProtocolHandler including a negative comment about the feature.I also found a webkit-dev thread about registerProtocolHandler which doesn't appear to include any positive remarks from WebKit maintainers.As far as I can see, nobody has ever asked for WebKit's support regarding a particular safelisted scheme as this intent is concerned with. Should I email webkit-dev just for matrix support, even though they don't seem interested in registerProtocolHandler in the first place...?