Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eb4a25a501dd927855367ac278c90b52ddae35ed
      
https://github.com/WebKit/WebKit/commit/eb4a25a501dd927855367ac278c90b52ddae35ed
  Author: Tim Horton <[email protected]>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm

  Log Message:
  -----------
  Retain cycle results in leak of WKSelectPicker actions
https://bugs.webkit.org/show_bug.cgi?id=322872
rdar://185015708

Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.

* Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm:
(-[WKSelectPicker controlUpdateEditing]):
(-[WKSelectPicker actionForOptionItem:withIndex:]):
(-[WKSelectPicker contextMenuInteraction:configurationForMenuAtLocation:]):
(-[WKSelectPicker 
contextMenuInteraction:willDisplayMenuForConfiguration:animator:]):
Hold weak references to self for select picker blocks to avoid cycles.

Canonical
link: 
https://flagged.apple.com:443/proxy?t2=dc1w8t0oP6&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzIwMjAzQG1haW4=&emid=b00cfbac-4930-47e5-bd26-b5f74a976a72&c=11



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

Reply via email to