Re: renamed iconUrl to icon

On Tue, Jul 10, 2012 at 9:13 AM, Doug Turner <dougt@dougt.org> wrote:
>> The fact that icons and titles can be set on a per-notification basis makes it very easy to trick the user into thinking that a notification is coming from someplace other than where it's coming.
>
> fwiw, i think that this is a feature.  Use case: Notifications from my
> email provider would display the the sender's image as the icon.  Use
> case two: Tweets including the user's image.
>
> Is it possible to support this case?
>
> Maybe it is useful to have two icons?  One icon for the document that
> is posting the notification, and one icon per-notification.  This
> would allow things like Twitter to have one icon for their application
> and another icons per tweet.  We might be able to derive the
> application icon via the favicon or use the application icon for
> 'installed web apps'.

Technically having two icons is of course implementable on at least
some platforms. But I'm not sure how we'd implement it on android for
example which I *think* limits what we can put in a notification.

I definitely agree that allowing the page to set the icon supports
more good use cases. However I'm just not sure how to do it securely.

/ Jonas

Received on Thursday, 12 July 2012 03:24:17 UTC