-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix FXIOS-9998 [inactive tabs] Fix crash when deleting and the und…
…oing the inactive tabs multiple times in a row (related improvements FXIOS-9954, FXIOS-10010, FXIOS-9999) (backport #22075) (#22217) * Bugfix FXIOS-9998 Fix crash when deleting and the undoing the inactive tabs multiple times in a row (related improvements FXIOS-9954, FXIOS-10010, FXIOS-9999) (#22075) * Add TabManager / Tab helper getters and improve documentation. Minor improvements. Refactored naming for clarity. * Fix to refresh the active tab area when all inactive tabs are closed, in case an active tab has been generated. * Add logic for findRightOrLeftTab to find a neighbouring tab to a removed tab which does not require saving a subarray index prior to removing a the tab. * Reworked logic for calculating the "next" index to select when removing a tab, which properly takes into account inactive tabs. * Cleaned up some old inactive tabs nimbus experiment code. * Add a ton of removeTab unit tests which check edge cases and common situations for normal active tabs, normal inactive tabs, and private tabs. * Make sure TabManagerTests do not use debug timeout for inactive tabs. * Bitrise test workaround for main thread issues related to FXIOS-10110. * Rewrite unrelated failing test not to rely on the global notification center. * Bump timeout for Danger. * Bypass failing UI test to expedite PR, FIXME ticket FXIOS-10122 (cherry picked from commit 5e949c4) # Conflicts: # firefox-ios/Client/TabManagement/Legacy/LegacyTabManager.swift # firefox-ios/Client/TabManagement/TabManagerImplementation.swift # firefox-ios/firefox-ios-tests/Tests/ClientTests/TabTests.swift * Resolve merge conflicts. --------- Co-authored-by: Isabella <[email protected]>
- Loading branch information
1 parent
16db912
commit b9365ea
Showing
12 changed files
with
1,603 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,7 @@ workflows: | |
- [email protected]: | ||
run_if: '{{getenv "RUN_UI_TESTS" | eq "Run_UI_Tests"}}' | ||
title: Run Danger 2 | ||
timeout: 180 | ||
timeout: 360 | ||
inputs: | ||
- content: | | ||
#!/usr/bin/env bash | ||
|
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.