Re: [whatwg] Proposal: navigator.launchURL

Adam Barth <w3c@adambarth.com>, 2014-07-13 19:26 -0700:

> == Use Case ==
> 
> A web site wants to launch an external protocol handler.  For example,
> a web site might want to launch PuTTY via the "ssh" scheme.
[...]
> == Proposal ==
> 
> partial interface NavigatorContentUtils {
>   void launchURL(DOMString url);
> };

Did you see the similar proposal that came up for discussion back in March?

  http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/thread.html#msg791
  http://bengjohnson.github.io/ExternalProtocolSpecification.html

It also used the example of launching an SSH client:

  http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/0797.html

It proposed a method that includes a "successCallback" & "noHandlerCallback":

  navigator.launchUri(uri, successCallback, noHandlerCallback)

-- 
Michael[tm] Smith http://people.w3.org/mike

Received on Monday, 14 July 2014 03:05:48 UTC