Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0f7c9d38a4fefa0cd1fae7f59bc4103c10274ace
      
https://github.com/WebKit/WebKit/commit/0f7c9d38a4fefa0cd1fae7f59bc4103c10274ace
  Author: Timothy Hatcher <[email protected]>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp
    M Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.h

  Log Message:
  -----------
  Crash under WebExtensionContextProxy::enumerateFramesAndNamespaceObjects.
https://webkit.org/b/276337
rdar://129820399

Reviewed by Chris Dumez and Brian Weinstein.

Use forEach() when iterating m_extensionContentFrames, since it might be mutated
during the iteration as frames are added or removed.

* Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp:
(WebKit::WebExtensionContextProxy::enumerateFramesAndNamespaceObjects):
* Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to