Re: [webkit-dev] Support registerProtocolHandler in WebKit2

2015-06-07 Thread Michael Catanzaro
On Sun, 2015-06-07 at 17:39 -0700, Darin Adler wrote:
 As one next step in the discussion, is there anyone that wants to 
 present a use case for a protocol other than mailto?

irc:// would be useful for those who don't like desktop clients.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Support registerProtocolHandler in WebKit2

2015-06-07 Thread Gyuyoung Kim
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 mcatanz...@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@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Support registerProtocolHandler in WebKit2

2015-06-07 Thread Darin Adler
Are we making progress in this discussion?

Maciej stated that he thinks this is useful for mailto and I think that 
Gyuyoung Kim and Michael Catanzaro stated that they want to do this.

As one next step in the discussion, is there anyone that wants to present a use 
case for a protocol other than mailto?

Sam, Anders, you haven’t replied to the thread since Maciej made his remarks 
two weeks ago. He asked what you dislike about the API.

— Darin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev