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

Ian Hickson ian at hixie.ch
Wed Aug 27 17:46:13 PDT 2008


On Wed, 27 Aug 2008, Aaron Boodman wrote:
> >
> > 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.
> 
> Hm, that is a good point. I didn't consider the the audio object would 
> keep playing smoothly when moved between documents. That seems unlikely 
> to be reliable across implementations, but I'll keep my fingers crossed :).

We can create a test that keeps switching an <audio> element from one 
document to another 250 times a second and check that it plays smoothly 
the whole time. That seems like a good thing to have in our test suite. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list