GNOME Bugzilla – Bug 741385
URLs sometimes saved into history in place of page titles
Last modified: 2015-09-08 17:40:12 UTC
Sometimes, the URL of a page is saved into history as the title of the page. It will show up in the history dialog and location entry completion with the URL listed twice, which looks quite poor. Haven't figured out the conditions that cause this to occur.
Created attachment 308149 [details] [review] Don't overwrite page titles in history When loading a page, we schedule two history updates: the first to reset the page's title to the empty string (when the web view's title property is unset after load started) and the second to set the page's title properly. The first history update is obviously a mistake. It seems like it should be harmless, so long as the page load is allowed to complete, but avoiding it seems to solve the bug where pages appear in the history dialog with URLs for the title, and it's clearly wrong, so let's stop doing this.
Pinging reviewers
r+ from Claudio
Attachment 308149 [details] pushed as 257ecd1 - Don't overwrite page titles in history