W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 29 Aug 2008 16:32:21 +0200
Message-ID: <op.ugnjz7k564w2qv@annevk-t60.oslo.opera.com>
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/>
Received on Friday, 29 August 2008 07:32:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:46 GMT