[whatwg] <video> abort and error should bubble for simplicity

On Wed, 11 Nov 2009 16:36:35 +0100, Philip J?genstedt <philipj at opera.com>  
wrote:

> Since we are no longer using progress events for media elements we don't  
> have the external requirement that abort/error shouldn't bubble. I'd  
> like them to bubble, because:
>
> 1. error events fired on <source> will bubble to <video>, which is quite  
> useful if one doesn't particularly care which source failed (one need  
> not register an event handler on each individual source attribute)
>
> 2. Implementors don't have to deal with the possibility that events of  
> the same name and type sometimes bubbles and sometimes not.
>
> 3. It's the same as for <img>, which all else equals seems nice and  
> simple.
>
> I'll note that <video> abort/error events in Firefox already seems to  
> bubble while they apparently don't in Safari. We'd like to align with  
> Firefox and have the spec changed.

It looks like I was wrong. As far as I can see error/abort doesn't bubble  
in any other scenario and it seemed to be that way in Firefox because the  
error event is fired on the <video> element, or something. No spec change  
needed.

-- 
Philip J?genstedt
Core Developer
Opera Software

Received on Thursday, 14 January 2010 06:36:21 UTC