[Webkit-unassigned] [Bug 197451] New: REGRESSION (r244182): RenderingUpdate should not be scheduled for invisible pages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 30 18:18:54 PDT 2019


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

            Bug ID: 197451
           Summary: REGRESSION (r244182): RenderingUpdate should not be
                    scheduled for invisible pages
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

Safari creates a blank web page when it is opened. This page will not be visible unless the user selects to open new tabs with "Empty page". The loader of this page forces Document::resolveStyle() which requires RenderLayerCompositor::scheduleLayerFlushNow().

Before r244182, this would just call scheduleCompositingLayerFlush() immediately. After r244182, RenderLayerCompositor::scheduleLayerFlushNow() has to schedule a RenderingUpdate and when it fires it calls scheduleCompositingLayerFlush().

We need to optimize this case by checking whether the page is visible or not before scheduling the RenderingUpdate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190501/42d2bd8c/attachment-0001.html>


More information about the webkit-unassigned mailing list