[whatwg] A slightly different use-case for shared workers

Anne van Kesteren annevk at opera.com
Fri Aug 29 07:32:21 PDT 2008


On Fri, 29 Aug 2008 16:20:21 +0200, Cameron McCormack <cam at mcc.id.au>  
wrote:
> Robert O'Callahan:
>> Why not just open new window and move the playing <audio> element from  
>> the old window into the new window? You might need to call play() on it  
>> again in the new window, but you shouldn't lose your place in the  
>> stream.
>
> Why shouldn’t that throw a WRONG_DOCUMENT_ERR?

Because browsers knowingly violate the DOM and we now plan on updating the  
DOM specification to match the arguably more sane behavior of not throwing  
(and simply modifying ownerDocument).


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list