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

Re: Fail if icon fails? Re: Web Notifications

From: Charles McCathieNevile <chaals@opera.com>
Date: Thu, 21 Jun 2012 12:54:31 +0200
To: "John Gregg" <johnnyg@google.com>, "Anne van Kesteren" <annevk@annevk.nl>
Cc: "Web Notification WG" <public-web-notification@w3.org>
Message-ID: <op.wf81w5powxe0ny@widsith-3.local>
On Wed, 20 Jun 2012 15:39:48 +0200, Anne van Kesteren <annevk@annevk.nl>  

> On Wed, Jun 20, 2012 at 3:33 PM, John Gregg <johnnyg@google.com> wrote:
>> I don't think the notification just vanishes -- the author gets an error
>> event.  Perhaps one problem though is that you can't tell the error  
>> event for a bad icon from an error for invalid permission.

Right - which effectively means it just vanishes...

>> If that was possible, the author could make the decision to show an
>> icon-free notification.
> 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.

> Not sure it's worth it though.

I live in a world that supposedly has great networks and all, but I very  
regularly (several times most days) have images fail to load. Since the  
image shouldn't be critical to the notification, it would be helpful just  
to get the rest of it...

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...


Charles 'chaals' McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg kan noen norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com
Received on Thursday, 21 June 2012 10:55:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:13 UTC