Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42beed928ebcab8aa9cfc669cce6185538f99ff4
      
https://github.com/WebKit/WebKit/commit/42beed928ebcab8aa9cfc669cce6185538f99ff4
  Author: Kristian Monsen <[email protected]>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M Source/WebCore/page/PageGroup.cpp

  Log Message:
  -----------
  Use WeakHashSet::forEach to iterate over set where the iterator might be 
invalidated
https://bugs.webkit.org/show_bug.cgi?id=308104
rdar://170475145

Reviewed by Geoffrey Garen and Chris Dumez.

WeakHashSet::forEach handles invalidation internally

This is pretty hard to reproduce, the testcase reproduces ~16% and takes ~11 
seconds

* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/page/PageGroup.cpp:
(WebCore::PageGroup::captionPreferencesChanged):

Originally-landed-as: 305413.322@safari-7624-branch (6e48549c1cfa). 
rdar://173968967
Canonical link: https://commits.webkit.org/312229@main



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

Reply via email to