W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Adding Web Intents to the Webapps WG deliverables

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 20 Sep 2011 03:53:08 +0000 (UTC)
To: James Hawkins <jhawkins@google.com>
cc: public-webapps@w3.org
Message-ID: <Pine.LNX.4.64.1109200342420.16440@ps20323.dreamhostps.com>

Why not just improve both navigator.registerContentHandler and 
navigator.registerProtocolHandler?

In particular, why are intents registered via a new HTML element rather 
than an API? How do you unregister? How do you determine if the intent was 
registered or not? How do you conditionally register (e.g. once the user 
has paid for the service)?

How does an already-open page get to handle an action? e.g. say GMail 
wants to handle the "share" intent, and the user already has GMail open, 
and the user clicks a "share" button on Flickr. How does the existing 
GMail instance get the notification?

Why are the verbs URLs?

Why are some verbs hard-coded into the API?

How are types matched?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 20 September 2011 03:55:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT