As of 2020-05-05 I intend to remove the title argument of Navigator.registerProtocolHandler. It has been removed from the HTML5 specification and none of the existing implementation does something UI-wise [1]. Status in other browsers is:
* WebKit: Navigator.registerProtocolHandler is not implemented. * Chromium: Title argument parsed but not used in the browser UI. Bug opened to remove it [2] and patch + intent to remove to be sent. However all feature removals are on hold in Chromium, so this one will likely be delayed too. Bug to remove: https://bugzilla.mozilla.org/show_bug.cgi?id=1631464 No telemetry analysis has been performed but the argument is likely used in many pages since it is mentioned in developer documentation and examples, including MDN. Consequently, it is probably preferable to just ignore the title argument without spamming the developer console. The title is not used for the UI so there won't be any observable UI change for users. It can be using JavaScript but only in cases that are not done in practice e.g. navigator.registerProtocolHandler(protocol, url, { toString: () => { alert('Hello World!'); } }); [1] https://github.com/whatwg/html/pull/5425 [2] https://bugs.chromium.org/p/chromium/issues/detail?id=1072461 -- Frédéric Wang _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform