Bloomca

#53180: fix: preserve initial window title with forward/back navigation

Merged
Created: Aug 25, 2026, 12:24:32 PM
Merged: Aug 26, 2026, 8:22:46 PM
4 comments
Target: main

Description of Change

Closes #53173

When I added #52089, I didn't handle a case where we create a window with a custom title. This creates a regression where updating the history state without any title changes still allows to update the title when pressing back/forward navigation buttons.

I added a regression test and the gist now passes: https://gist.github.com/nikwen/5234f4e74220620df24c54bf704a899a

Checklist

Release Notes

Notes: Fixed a regression where a window created with a custom title can show an empty title after using back/forward navigation.

Backports

42-x-y
Merged
PR Number
#53217
Merged At
Aug 26, 2026, 9:51:28 PM
Released In
Not yet
Release Date
Not yet
43-x-y
Merged
PR Number
#53219
Merged At
Aug 26, 2026, 9:51:26 PM
Released In
Not yet
Release Date
Not yet
44-x-y
Merged
PR Number
#53218
Merged At
Aug 26, 2026, 9:51:22 PM
Released In
Not yet
Release Date
Not yet

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