-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pinned tab state and favicon handling
Fixes several issues related to pinned tab restoration and favicon display: - Ensures pinned tabs are not loaded in private windows. - Improves favicon caching and setting for pinned tabs. - Fixes an issue where the tab state was not properly restored, leading to incorrect icons and titles. - Uses base64 encoded favicon data to prevent issues with favicon loading and updates the favicon loading logic to be more robust. - Adds a call to `gBrowser._updateTabBarForPinnedTabs` to ensure the tab bar is updated correctly after restoring pinned tabs, which fixes a UI issue where the tab bar wouldn't refresh properly until interacted with. - Improves tab initialization by explicitly calling `newTab.initialize()` after restoring a pinned tab. This fixes an issue with tabs not rendering icon and label after being restored. The changes improve the reliability of pinned tab restoration and ensure that favicons are displayed correctly.
- Loading branch information
1 parent
259b25a
commit ab2df8c
Showing
1 changed file
with
76 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters