[Webkit-unassigned] [Bug 27612] handling scripts can block UI
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 18 13:23:14 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27612
--- Comment #9 from Yong Li <yong.li at torchmobile.com> 2009-08-18 13:23:13 PDT ---
(In reply to comment #8)
> (From update of attachment 34859 [details])
> I think CachedScript is wrong place to do this. It is likely have all kinds of
> unforeseen side effect. If you want to chop processing to smaller pieces on
> scripts that is probably better done in the tokenizer level which already has
> logic and timers to do processing in reasonable sized chunks.
> HTMLTokenizer::notifyFinished(CachedResource*) might be the place to start
> looking.
>
> Also I think it should be possible to implement this in a manner that works
> well unversally on all platforms and does not require #ifdeffing. The code rot
> is pretty certain for this kind of code otherwise.
Antti, I have to say your idea is better. This can be done in HTMLTokenzier.
Sigh. I should talk to you earlier.
The patch is rejected, but the bug should still open until it's fixed in
HTMLTokenizer, right?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list