Re: Fail if icon fails? Re: Web Notifications

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 UTC