Anne van Kesteren wrote:
On Fri, 29 Aug 2008 16:20:21 +0200, Cameron McCormack <[EMAIL PROTECTED]>
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).
And even if we didn't do that a simple call to adoptNode will prevent
WRONG_DOCUMENT_ERR from being thrown.
/ Jonas