Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27813d31905562646dbe49b2e0cc3473ca3a3bfe
      
https://github.com/WebKit/WebKit/commit/27813d31905562646dbe49b2e0cc3473ca3a3bfe
  Author: Chris Dumez <[email protected]>
  Date:   2026-03-30 (Mon, 30 Mar 2026)

  Changed paths:
    M Source/WebCore/dom/StaticNodeList.h

  Log Message:
  -----------
  Static NodeList subclasses should report their memoryCost to the GC
https://bugs.webkit.org/show_bug.cgi?id=311044

Reviewed by Ryosuke Niwa.

StaticNodeList, StaticElementList, and StaticWrapperNodeList did not
override memoryCost(), so the base NodeList implementation always
reported 0 to the JS garbage collector. This means the GC had no
visibility into memory held by these lists, which are used by
querySelectorAll(), MutationRecord, and other APIs.

* Source/WebCore/dom/StaticNodeList.h:

Canonical link: https://commits.webkit.org/310208@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to