Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly propagate title updates for window with no navigation entries #29946

Merged
merged 2 commits into from Jun 30, 2021

Conversation

nornagon
Copy link
Member

Description of Change

Fixes #29942.

Sometimes pages don't have any navigation entries associated with them, e.g.
when calling window.open(''). This allows the page title update to be
propagated even in that instance.

I suspect this method could be even further simplified, but this is the minimal
change to fix the linked bug.

Checklist

Release Notes

Notes: Fixed page title not being updated on child windows without navigation entries under nativeWindowOpen.

@nornagon nornagon added semver/patch backwards-compatible bug fixes target/12-x-y labels Jun 29, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 29, 2021
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testable?

@nornagon
Copy link
Member Author

ya, working on it.

@nornagon nornagon merged commit a8b3c22 into main Jun 30, 2021
@nornagon nornagon deleted the fix-blank-page-title-update branch June 30, 2021 17:53
@release-clerk
Copy link

release-clerk bot commented Jun 30, 2021

Release Notes Persisted

Fixed page title not being updated on child windows without navigation entries under nativeWindowOpen.

@trop
Copy link
Contributor

trop bot commented Jun 30, 2021

I have automatically backported this PR to "13-x-y", please check out #29958

@trop trop bot removed the target/13-x-y label Jun 30, 2021
@trop
Copy link
Contributor

trop bot commented Jun 30, 2021

I have automatically backported this PR to "14-x-y", please check out #29959

@trop
Copy link
Contributor

trop bot commented Jun 30, 2021

I have automatically backported this PR to "12-x-y", please check out #29960

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jul 2, 2021
@trop trop bot added the merged/14-x-y label Jul 2, 2021
BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: window created with empty url and native window open updates to empty title
3 participants