[Webkit-unassigned] [Bug 28412] New: Leak of WebCore::XMLHttpRequest object during layout tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 17 16:26:27 PDT 2009


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

           Summary: Leak of WebCore::XMLHttpRequest object during layout
                    tests
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com


Created an attachment (id=35001)
 --> (https://bugs.webkit.org/attachment.cgi?id=35001)
Make XHR leak more obvious

While looking at the output of 'run-webkit-tests --leaks' over the last few
days I've occasionally noticed instances of WebCore::XMLHttpRequest being
leaked.  I wrote a simple patch that uses RefCountedLeakCounter to make it more
obvious when this sort of leak is occurring, and narrowed the leaks down to two
tests that are run in sequence.  The following command leaks a single
XMLHttpRequest instance every time:

./WebKitTools/Scripts/run-webkit-tests --leaks
LayoutTests/http/tests/xmlhttprequest/{xhr-onunload,xml-encoding}.html

With the attached patch applied you'll see:
LEAK: 1 XMLHttpRequest

in the output.

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