Closed Bug 1341765 Opened 9 years ago Closed 4 years ago

Forget About This Site for Local file will clears ALL cache and cookies

Categories

(Toolkit :: Data Sanitization, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmoddie, Unassigned)

Details

(Keywords: dataloss)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170125094131 Steps to reproduce: -View a *local* h264 video via Firefox -open Firefox history -select the local video -click 'Forget About This Site' Actual results: All cookies, including cookies set by other actual websites, as well as Firefox's Cached Web Content were completely wiped. Expected results: Keep remote website's cookies and cache.
Severity: normal → minor
Component: Untriaged → Bookmarks & History
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Severity: minor → normal
Status: UNCONFIRMED → NEW
Component: Bookmarks & History → Forget About Site
Ever confirmed: true
Product: Firefox → Toolkit
Summary: Forget About This Site clears ALL cache and cookies → Forget About This Site for Local file will clears ALL cache and cookies
Keywords: dataloss
OS: Windows 10 → Unspecified
Hardware: x86_64 → Unspecified
Version: 51 Branch → unspecified
Priority: -- → P3

Can't reproduce this issue. Cookies of unrelated sites are retained.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME

Can reproduce this for the cache, on 95.0a1 (from 21-10-30). Will confirm after retrying with a newer version, once I get a chance to upgrade.

Strangely, a few entries (from unrelated sites) seem to have remained in the cache. But all the other entries are now inaccessible (including the cleared site, and almost all other sites in my history).

The cache storage size (about:preferences#privacy, "Cookies and Site Data") went down by ~100MB/1.1GB, but the site that I actually cleared could not have had that much data stored.

Currently my cache storage level still reads 1.0GB, but I cannot access any of the previously cached sites visited during the last 2-3 weeks or so (which used to be accessible just fine, when in offline mode). Each gives "Offline Mode" error when accessed with offline mode enabled, and loads a completely fresh copy when offline mode is disabled. So it seems like the cache invalidation is somehow incomplete/corrupted, and although the on-disk entries don't get cleared the index (?) breaks and makes almost all of the other/unrelated site entries inaccessible as well.

Since I still have the corrupted (?) cache, I would be happy to try to perform any additional experiments and/or provide any diagnostics.

Flags: needinfo?(pbz)

Since your issue description doesn't exactly match the one in comment 0 and this bug is very old, please file a separate bug. Testing if you can reproduce this on Fx96 or on a new Firefox profile would be helpful too.

Flags: needinfo?(pbz) → needinfo?(janakaud+mozilla)

Hi @pbz,
Agreed on the oldness of the bug; however I still don't believe this bug qualifies to be closed:

The original issue is about "cache and cookies".
Your observation ("can't reproduce", comment 1) is only on cookies.
My observation ("can reproduce", comment 2) is on the cache aspect.
So obviously, part of the original scope is still reproducible - i.e. the issue is not fully resolved yet.

Flags: needinfo?(janakaud+mozilla)
You need to log in before you can comment on or make changes to this bug.