[Webkit-unassigned] [Bug 247984] New: References to iframes seem to not get garbage collected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 16 09:32:31 PST 2022


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

            Bug ID: 247984
           Summary: References to iframes seem to not get garbage
                    collected
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: achristensen at apple.com

This uses lots of memory:

for (var i = 0; i < 100000; i++) { 
    document.body.appendChild(document.createElement('iframe'));
    document.querySelector('iframe').remove();
}

But this does not:

for (var i = 0; i < 100000; i++) { new ArrayBuffer(1000000); }

It seems like we are keeping references to iframes alive.  Reported by Mark in the Ask Apple event.

-- 
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/20221116/fc7c7be9/attachment.htm>


More information about the webkit-unassigned mailing list