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

Re: Fail if icon fails? Re: Web Notifications

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 21 Jun 2012 13:16:22 +0200
Message-ID: <CADnb78jgdg2gyzTGN==E6oTqS6OCWO7NNaH68Nf4tO-Q4Fdr7g@mail.gmail.com>
To: Charles McCathieNevile <chaals@opera.com>
Cc: John Gregg <johnnyg@google.com>, Web Notification WG <public-web-notification@w3.org>
On Thu, Jun 21, 2012 at 12:54 PM, Charles McCathieNevile
<chaals@opera.com> wrote:
> On Wed, 20 Jun 2012 15:39:48 +0200, Anne van Kesteren <annevk@annevk.nl>
> wrote:
>> We could introduce an event named "iconerror" if we think it's worth
>> it. Dispatching events with other names is rather trivial.
>
> That's one approach. Doing that, and going through with the rest of the
> notification is probably a good idea in practice.

Discussing this a bit with James I agree we should display the
notification. The icon is like the favicon for pages. It's not a
critical resource, just there for entertainment.

I think we should remove the event altogether. We do not have events
for favicons either. We can always introduce an event later on if it
turns out failing images is a huge problem people want to be able to
debug more easily than by prefetching the image first.


> Hmm. There's no way to provide a text equivalent to the icon. If it is
> possible to display the notification without the icon, as I think it should
> be, then that becomes a bug. I can raise a seperate thread for that if you
> like...

It doesn't need it.


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/
Received on Thursday, 21 June 2012 11:16:50 GMT

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