[Webkit-unassigned] [Bug 56559] Web Inspector: Scrolling and navigation is not smooth on a script with many long lines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 07:27:39 PDT 2011


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





--- Comment #4 from Yury Semikhatsky <yurys at chromium.org>  2011-03-22 07:27:39 PST ---
(From update of attachment 86055)
View in context: https://bugs.webkit.org/attachment.cgi?id=86055&action=review

> Source/WebCore/inspector/front-end/TextViewer.js:838
> +    _paintScheduledLines: function(opt_skipRestoreSelection)

We don't use opt_ prefix in the inspector code.

> Source/WebCore/inspector/front-end/TextViewer.js:899
> +        if (this._dirtyLines || this._scheduledPaintLines || this._paintLinesOperationsCredit < 0) {

You should check for this._paintLinesOperationsCredit < 0 at line 891 after painting next line and if the credit is exceeded schedule painting of all rest lines in the chunk.

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