fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Clear Browsing Data

Open bbinto opened this issue 7 years ago • 15 comments

As a user, I want to erase any traces of my history, or any saved cookie, passwords so nobody can see what I've done previously in the browser or any publishers following my trace

UX: #980

Acceptance Criteria

-I can go to settings to delete all browsing data -I see a toast to indicate that browsing data has been deleted

┆Issue is synchronized with this Jira Task

bbinto avatar Jan 21 '19 19:01 bbinto

For clearing browsing history, do you expect the deletions to sync to other devices?

davismtl avatar Jan 23 '19 19:01 davismtl

@bbinto What does "on exit" mean on mobile? Android apps have no "Quit" option. You never "exit" an Android app.

st3fan avatar Jan 24 '19 00:01 st3fan

There is a whole discussion with bugs and screenshots about this at https://github.com/mozilla-mobile/reference-browser/issues/81

st3fan avatar Jan 24 '19 00:01 st3fan

@davismtl - what do you suggest from your experience with other devices/Firefox account implementations? I think we talked about this in our 1-1, and probably not syncing the deletion is the best option.

@st3fan - "on exit" - hard kill of the app (via app drawer/viewer)

bbinto avatar Feb 04 '19 13:02 bbinto

@mhammond and I believe that we should sync the deletion of individual pages but that we shouldn't sync bulk deletion like "Clear All".

Given mobile devices will have synced desktop History, a "Clear All" will wipe your desktop History on your local mobile device but we don't think users would expect it to also wipe all of the History on their desktops too.

davismtl avatar Feb 04 '19 17:02 davismtl

Given mobile devices will have synced desktop History, a "Clear All" will wipe your desktop History on your local mobile device but we don't think users would expect it to also wipe all of the History on their desktops too.

As a user, I think this makes a lot of sense.

I do think that it would be nice to have a "wipe history/data" feature in about:accounts (Fennec leads to this page when tapping on your username in Sync settings) where they really can purge this across all devices, in case some users do want to purge all history everywhere.

Help pages could explain the rationale here if you decide to go in this direction - given that you are purging user data, it is probably worth it to be careful, even if some people may get annoyed.

yoasif avatar Feb 05 '19 04:02 yoasif

@bbinto This looks like a duplicate of this bug. I posted specs there. https://github.com/mozilla-mobile/fenix/issues/980

AmyYLee avatar Apr 14 '19 02:04 AmyYLee

This issue is referring to the Eng tasks, so I think this should still be kept open (cc @vesta0)

bbinto avatar Apr 14 '19 22:04 bbinto

Issue 980 is reviewed and signed off on by UX so this is ready to build.

mheubusch avatar May 01 '19 21:05 mheubusch

@vesta0 This story might be blocked by both A/C and GV.

bifleming avatar May 06 '19 23:05 bifleming

@cpeterso I understand that this API is required to delete browsing data selectively, but do we also need a new GV API for a catch-all method that deletes everything?

vesta0 avatar May 07 '19 15:05 vesta0

The GV team implement a GV API (bug 1489669) to selectively clear user data by site (or for all sites) or by data type (or for all data types). Fenix MVP doesn't necessarily need to expose the by site or by data in the UI. Fenix can use this selective API to implement the simpler "clear all user data" functionality.

cpeterso avatar May 07 '19 23:05 cpeterso

GV's Clear User Data API landed last week: https://bugzilla.mozilla.org/show_bug.cgi?id=1489669#c22

And should be available in yesterday's GV 68 Beta build: https://maven.mozilla.org/?prefix=maven2/org/mozilla/geckoview/geckoview-beta-armeabi-v7a/68.0.20190527103257/

cpeterso avatar May 28 '19 22:05 cpeterso

I confirm that the user can "Delete browsing data", on the latest build 1.0.1922 (#11500615), with Google Pixel (Android 9), Samsung Galaxy S8 (Android 9), Nokia 6 (Android 7.1.1).

@bbinto after tapping "Allow", the progress bar doesn't stop moving like it is still in progress. But, if you go back to Homescreen the data was deleted. The user doesn't know if the deletion is complete or not. Please see the attached GIF.

2019_05_30

lobontiumira avatar May 30 '19 11:05 lobontiumira

Verified as fixed on the latest build 1.0.1922 (#11530616), with Huawei P9 Lite (Android 6), Google Pixel (Android 9), and Nokia 6 (Android 7.1.1).

lobontiumira avatar Jun 03 '19 08:06 lobontiumira