This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 973
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incremently update the History/Recently closed menu
Improves performance of tab close and undo tab close by avoiding iterating over all bookmarks and avoiding recreating the system app menu. Fix #4848 Auditors: @bsclifton @bbondy Note this should be tested on Linux, MacOS and Windows to confirm tab closing is okay. Test plan: 1. Open the History menu and note Recently closed is not there. 2. Go to https://archive.org 3. Open a new tab and go to https://wikipedia.org 4. Close the tab 5. Examine the menu History > Recently closed; it should have Wikipedia 6. Close the archive.org tab 7. Examine the Recently closed menu; it should have the Internet archive 8. Use the menu item "Reopen last closed tab" or use the shortcut 9. Examine the Recently closed menu; it should be hidden now.
- Loading branch information
Showing
7 changed files
with
299 additions
and
62 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
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
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
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
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
Oops, something went wrong.