This is a backport PR for branch 44-x-y
trop[bot]

#53248: docs: type webContents as nullable in app 'login' and 'select-client-certificate'

Merged
Created: Aug 27, 2026, 9:17:20 PM
Merged: Aug 28, 2026, 12:15:38 AM
1 comments
Target: 44-x-y

Backport of #53202

See that PR for details.

Notes: Fixed the TypeScript type of the webContents argument to app's login and select-client-certificate events, which is null for net and utility-process requests.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Aug 27, 2026, 9:16:54 PM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron