- From: Maciej Stachowiak <mjs@apple.com>
- Date: Fri, 23 Mar 2007 15:59:10 -0700
On Mar 23, 2007, at 3:20 PM, Ian Hickson wrote: > On Fri, 23 Mar 2007, Anne van Kesteren wrote: >> >> How can load() be invoked when certain method calls have not yet >> returned? > > Most of the methods result in synchronous event dispatch, which can > invoke further code. > > >> Why does it switch to the PAUSED state? Isn't it only supposed to be >> loading the content? > > The STOPPED state represents when there is no data. There is now > data, so > it is no longer STOPPED. (STOPPED was at one point called NO_MEDIA. > Maybe > we should consider changing it back.) I would suggest adopting the states from the Apple proposal instead, where this state would correspond to UNINITIALIZED (starting a load would switch to LOADING state). Regards, Maciej
Received on Friday, 23 March 2007 15:59:10 UTC