Bug 275299

Summary: [GTK][WPE] Page titles not saved into back/forward list
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: beidson, bugs-noreply, mcatanzaro, mike
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=275298
https://bugs.webkit.org/show_bug.cgi?id=275280

Michael Catanzaro
Reported 2024-06-09 08:40:28 PDT
In bug #223190 we removed the ability to save page titles into the back/forward list. This functionality is restored in bug #275280 and bug #275298, and apparently that works on macOS. It doesn't work on Linux, because page titles are never saved into the back/forward list in the first place. I debugged this as far as HistoryController::initializeItem, where the title gets set to a null string because DocumentLoader::setTitle has not yet been called. The title gets set in the document loader a bit later, too late to go into the back/forward list. Perhaps the title gets set sooner on macOS?
Attachments
Note You need to log in before you can comment on or make changes to this bug.