Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a8d56be128467e58b48476e4c49865634487048
      
https://github.com/WebKit/WebKit/commit/6a8d56be128467e58b48476e4c49865634487048
  Author: Basuke Suzuki <[email protected]>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M Tools/MiniBrowser/mac/AppDelegate.m

  Log Message:
  -----------
  [MiniBrowser] --web-inspector flag doesn't work when the default is set to 
WebKit 1.
https://bugs.webkit.org/show_bug.cgi?id=301209
rdar://163133280

Reviewed by Ryan Reno.

The timing of argument parsing is located only in `defaultConfiguration` that 
is only
called from WK2 browser generation. Move the timing from there to 
`awakeFromNib` to
ensure it is called for both cases just once.

Also move the url parsing in the _parseArguments method for consistency.

* Tools/MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate awakeFromNib]):
(-[BrowserAppDelegate _parseArguments]):
(-[BrowserAppDelegate defaultConfiguration]):
(-[BrowserAppDelegate newWindow:]):
(-[BrowserAppDelegate newPrivateWindow:]):
(-[BrowserAppDelegate targetURLOrDefaultURL]): Deleted.

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



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

Reply via email to