-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix double clearing on autoclear (#2666)
Task/Issue URL: https://app.asana.com/0/414709148257752/1206731143449260/f Tech Design URL: CC: Description: Refactoring to inject tabs model into the main view controller Prevents double clearing when using auto-clear + timer Also fixes [Bug: Unable to launch URL properly when auto clear enabled](https://app.asana.com/0/414235014887631/1206454582708636/f) Steps to test this PR: Test standard fire button and fire proofing usage Open some tabs, set cookies (e.g. login to a site), use fire button ensure data is cleared Open some tabs, set cookies (e.g. login to a site), add to fire proofing, ensure data except fireproofed is cleared Open some tabs, set cookies (e.g. login to a site), terminate the app and reload, ensure tab loads as expected Autoclear with Terminate Update settings to enable auto clear on terminate Open some tabs, set cookies (e.g. login to a site) Terminate the app Launch the app, ensure tabs and data are cleared Autoclear with Terminate and Delay Update settings to enable auto clear on terminate with a delay Hack the code to return true for the selected delay in the shouldClearData function Background the app Use another app (e.g news) to launch a URL in DDG (either through default browser or by share extension) Ensure tabs and data are cleared Autoclear with tabs only Repeat above tests but with tabs only selected in auto clear settings Ensure tabs are closed but data is retained
- Loading branch information
Showing
5 changed files
with
87 additions
and
61 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