On Wednesday 2018-01-03 15:15 +0000, Jonathan Kingston wrote:
> I am suggesting the removal of navigator.registerContentHandler
> <https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler>
> API used to register a web page to handle content types.
> 
> Firefox has an implementation that only can be used to allow a web page to
> handle RSS feeds. We don't have telemetry on this feature however we do
> know that registerProtocolHandler has around 0.2% usage and this feature is
> implemented in multiple browsers and isn't specific to Firefox.
> 
> Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1398169
> 
> There is a small risk of breakage that we could decide to delay and instead
> implement telemetry. However if the site is feature testing rather than
> user agent testing there shouldn't be an issue here. As this API throws
> errors there is likelihood websites account for it throwing anyway. I would
> prefer however to let the removal ride the trains due to it's low risk
> before 61 so our ESR doesn't have it.
> 
> Alternatively we could restrict this API to Secure Context only due to the
> risk of passing web content to an insecure context. This would be aligned
> with our overall plan regarding HTTP APIs.
> 
> Removal of this feature requires the removal of some internal tests and to
> stop ignoring a web platform test.
> 
> The rationale:
> 
> - This API had bugs filed on it's implementation
> - Is only implemented by Firefox
> - The API is now non standard
> - No other browsers have intent to implement

I'm a little hesitant here -- this is an important feature for
allowing Web apps to fulfil the function that desktop apps do, and
I'd rather push to see it expand.

For example, if we added support for registering for text/calendar,
then Google Calendar could choose to register for that, and thus
become the handler for random ICS files that I'm served by sites
that allow me to make appointments.

Right now desktop calendar apps have more power than web calendar
apps do here, for no good reason, and it seems like we ought to be
trying to change that.

-David

-- 
š¯„˛   L. David Baron                         http://dbaron.org/   š¯„‚
š¯„¢   Mozilla                          https://www.mozilla.org/   š¯„‚
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to