W3C home > Mailing lists > Public > public-web-intents@w3.org > January 2012

Re: Supporting extra parameters on the Intent object

From: Mounir Lamouri <mounir@lamouri.fr>
Date: Mon, 30 Jan 2012 15:10:32 +0100
Message-ID: <4F26A4D8.80709@lamouri.fr>
To: public-web-intents@w3.org
On 01/30/2012 02:30 PM, Paul Kinlan wrote:
> Because we want the data described by the "type", specifically a
> mime-type, to describe the just the data being sent.  If you say it is
> an image/jpeg it must be a JPEG image that is received (which does not
> include the file name), not a JSON object with arbitrary values
> defined.

I don't see the relation with JSON here...
Anyway, I wouldn't mind to have a Dictionnary returned instead of the
requested data but I understand your point here. Though, we could use
some WebIDL tricks to have this behaving as you want with data.value
always returning the requested data and [PutForwards=value] but I'm not
a big fan of PutForwards in general.

--
Mounir
Received on Monday, 30 January 2012 14:11:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 January 2012 14:11:15 GMT