[Webkit-unassigned] [Bug 57997] New: Document leaks when navigating away from a scrolled page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 16:18:10 PDT 2011


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

           Summary: Document leaks when navigating away from a scrolled
                    page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: slewis at apple.com


Created an attachment (id=88541)
 --> (https://bugs.webkit.org/attachment.cgi?id=88541&action=review)
testcase

<rdar://problem/9187856> REGRESSION(r75555): ~5-7 MB increase in memory between iBench runs

When navigating away from a page in a scrolled state the scrollbars are reset which fires a scroll event.  WIth the new EventQueue for scroll events the event is never dispatched before the page detaches and keeps the Document alive.  

Solution is to cancel the scroll event when detaching the page. 

To repro:
Load attached testcase
Scroll
navigate to about:blank
close the window.

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