Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a2884e090e5b06b0b872de03b4d23399d02fa7f3
      
https://github.com/WebKit/WebKit/commit/a2884e090e5b06b0b872de03b4d23399d02fa7f3
  Author: Zak Ridouh <[email protected]>
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M Tools/MiniBrowser/mac/SettingsController.h
    M Tools/MiniBrowser/mac/SettingsController.m
    M Tools/MiniBrowser/mac/WK2BrowserWindowController.m

  Log Message:
  -----------
  [MiniBrowser] Add option to show WebContent process ID in tab title
https://bugs.webkit.org/show_bug.cgi?id=305135
rdar://167784433

Reviewed by Vitor Roriz, Brent Fulgham, and Brandon Stewart.

Add a "Show Web Process ID in Window Title" toggle to the Debug Overlays
submenu that displays the WebContent PID in the window title (For example 
"WebKit [1234]").

This makes the WebContent PID visible in the tab bar when using tabbed windows.

The setting is persisted via NSUserDefaults, and the setting is togglable
through the `Settings menu` → `Debug Overlays` → `"Show Web Process ID in 
Window Title"` menu item.

* Tools/MiniBrowser/mac/SettingsController.h:
* Tools/MiniBrowser/mac/SettingsController.m:
(-[SettingsController _populateMenu:]):
(-[SettingsController validateMenuItem:]):
(-[SettingsController toggleShowWebProcessIdentifierInTitle:]):
(-[SettingsController showWebProcessIdentifierInTitle]):
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController didChangeSettings]):
(-[WK2BrowserWindowController updateTitle:]):

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



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

Reply via email to