[Webkit-unassigned] [Bug 27612] handling scripts can block UI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 13:17:48 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27612


Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34859|review?                     |review-
               Flag|                            |




--- Comment #8 from Antti Koivisto <koivisto at iki.fi>  2009-08-18 13:17:47 PDT ---
(From update of attachment 34859)
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.

-- 
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