mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.2k stars 2.92k forks source link

After closing a private tab private browsing should remain in focus #18728

Closed dragosb01 closed 6 months ago

dragosb01 commented 8 months ago

Steps to reproduce

  1. Open a website on private mode and close the tab or run the automation tests from notes

    Expected behavior

    Private Browsing should remain open after closing the tab - see videos attached with the old behaviour

    Actual behavior

    Homescreen opens When there are 2 tabs opens, after closing one, the other one opens

https://github.com/mozilla-mobile/firefox-ios/assets/134391433/0f84f5c2-6ba8-409c-aaaa-93f221667193

https://github.com/mozilla-mobile/firefox-ios/assets/134391433/a181192a-7804-4055-ae31-fdfadaa314f1

https://github.com/mozilla-mobile/firefox-ios/assets/134391433/93c2531e-6560-4519-8aac-0efc19cde58a

https://github.com/mozilla-mobile/firefox-ios/assets/134391433/365e93eb-4d3f-41cd-b798-16797dc0b51a

┆Issue is synchronized with this Jira Task

dragosb01 commented 8 months ago

Automation tests affected on iPad: testCloseAllTabsPrivateMode, testCloseAllTabsPrivateModeUndo

data-sync-user commented 7 months ago

➤ Alina Moldovan commented:

This issue still reproducers using v9000 (39865) and iPhone 15+ (17.4) while Tab tray refactor experiment is ON

data-sync-user commented 6 months ago

➤ Diana Andreea Barladeanu commented:

Verified as fixed on v125 (40250), with iPhone 15 (17.0).