When loading is not deferred, the following scenario is possible: - document gets suspended, suspending HTMLParserScheduler; - HTMLParserScheduler suspends its timer; - we get new data from the network; - parse it; - HTMLParserScheduler yields again, starting a timer again. We'll end up with an active timer and m_isSuspendedWithActiveTimer flag. Additionally, parsing and loading are actually supposed to continue when suspended for certain reasons. Even when DOM timers and animations are not necessary, we can try to finish loading a page.
Created attachment 207572 [details] proposed patch
Comment on attachment 207572 [details] proposed patch Clearing flags on attachment: 207572 Committed r153407: <http://trac.webkit.org/changeset/153407>
All reviewed patches have been landed. Closing bug.