W3C home > Mailing lists > Public > public-web-notification@w3.org > July 2012

Re: renamed iconUrl to icon

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 11 Jul 2012 20:23:19 -0700
Message-ID: <CA+c2ei9nY7yV+Ce64bCtVFrMxYvQNvxyKm04BB-WAfu0BY8ZAw@mail.gmail.com>
To: Doug Turner <dougt@dougt.org>
Cc: Anne van Kesteren <annevk@annevk.nl>, Web Notification WG <public-web-notification@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:28 GMT