[webkit-dev] Support "registerProtocolHandler" in WebKit2

Gyuyoung Kim gyuyoung.kim at webkit.org
Sun Jun 7 17:25:18 PDT 2015


In order to support the use case on Epiphany browser, we need to support
this feature on WK2 first.
Besides, as far as I know, EFL browser will have similar use-case by using
this feature. Thus, in my humble opinion, similar use cases
can be more required in near future.

Gyuyoung.

On Tue, Jun 2, 2015 at 9:21 PM, Michael Catanzaro <mcatanzaro at igalia.com>
wrote:

> On Wed, 2015-05-20 at 10:31 +0900, Gyuyoung Kim wrote:
> > I would like to listen what do you think to support
> > 'registerProtocolHandler' in WebKit2.
> >
> > This feature is to execute web content through registered custom
> > protocol.
>
> Hi,
>
> I think this would be useful for GNOME. One of our goals is for the
> user to be able to set GMail as the default mail application in System
> Settings. If the user visits gmail.com and it attempts to register
> itself as a mailto:// handler, I envision the WebKitGTK+ would fire a
> signal that would trigger Epiphany to display an info bar to ask the
> user for approval. If the user approves the registration, we would go
> one step further: we'd create a new web application for GMail and in
> the desktop file indicate support for the MIME type x-scheme
> -handler/mailto (or if the user already has a GMail web application,
> modify the desktop file to add that MIME type). The user would then be
> able to set the GMail web app as the default mail application
> systemwide.
>
> We would restrict this functionality to HTTPS sites only. I'd greatly
> prefer that restriction to be enforced by WebKit rather than
> implementing that policy in Epiphany.
>
> Michael
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150608/8e5e35a6/attachment.html>


More information about the webkit-dev mailing list