fix: correctly propagate title updates for window with no navigation entries (#29946)
This commit is contained in:
parent
675bbfe092
commit
a8b3c22518
2 changed files with 15 additions and 0 deletions
|
@ -1752,6 +1752,8 @@ void WebContents::TitleWasSet(content::NavigationEntry* entry) {
|
|||
} else {
|
||||
final_title = title;
|
||||
}
|
||||
} else {
|
||||
final_title = web_contents()->GetTitle();
|
||||
}
|
||||
for (ExtendedWebContentsObserver& observer : observers_)
|
||||
observer.OnPageTitleUpdated(final_title, explicit_set);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue