Re: Adding Web Intents to the Webapps WG deliverables

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 UTC