- From: Michael[tm] Smith <mike@w3.org>
- Date: Mon, 14 Jul 2014 12:05:20 +0900
- To: Adam Barth <w3c@adambarth.com>
- Cc: whatwg@whatwg.org, Konstantin Welke <Konstantin.Welke@citrix.com>, Ben Johnson <Ben.Johnson@citrix.com>
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