ckerr

#48850: refactor: remove unused ExtensionActionAPI methods & fields

Merged
Created: Nov 7, 2025, 7:38:18 PM
Merged: Nov 10, 2025, 2:52:11 AM
1 comments
Target: main

Description of Change

Small cleanup PR to remove some unused methods and fields from ExtensionActionAPI, including a browser context pointer. Looks like these were added in 5b105f9 but never used

#48848 got me wondering "where else do we have unnecessary BrowserContext handles?" which led to this PR.

CC @codebytere

Checklist

Release Notes

Notes: none.

Backports

No Backports Requested

This pull request doesn't have any backports requested or created for older release branches.

What are backports?

Backports are copies of changes made to the main branch that are applied to older release branches. They ensure that bug fixes and important changes are available in maintained older versions of Electron.

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