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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 11:56:25 PDT 2009


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

           Summary: handling scripts can block UI
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yong.li at torchmobile.com
                CC: staikos at kde.org, treat at kde.org



Yong Li <yong.li at torchmobile.com> changed:

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


Created an attachment (id=33349)
 --> (https://bugs.webkit.org/attachment.cgi?id=33349)
the patch

CachedScript calls client->notifyFinished() immediately if the script is
already in cache, and it also does that when all resource data comes.

In the case that the user goes back/forward to a page that contains many JS
files, HMTLTokenizer will decode and execute those JS files at one time. This
can affect UI responsiveness.

The attached patch contains code to delay sending notifications to cliensts of
CachedScript by timer.

It helps improving responsiveness on WinMob

(Probably this is not a problem at all for desktop browsers?)

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