Open Bug 606403 Opened 14 years ago Updated 27 days ago

Forget About this Site doesn't purge entries in session history

Categories

(Toolkit :: Data Sanitization, defect, P3)

defect

Tracking

()

ASSIGNED
Tracking Status
blocking2.0 --- -

People

(Reporter: eyalgruss, Assigned: akyl.sauranbai, NeedInfo)

References

(Blocks 2 open bugs)

Details

(Keywords: privacy)

Attachments

(1 file)

i told firefox to forget about some site.
although i navigated away to an innocent url, the criminating evidence still remained in the tab history (back-forward context menu)
bug 464417 suggests to close the tab completely, but until we do so, i think the back-forward context menu should be purged for the offending urls.
Beltzner has asked to file this as a separate bug.
blocking2.0: --- → ?
Summary: Forget About this Site doesn't purge tab history → Forget About this Site doesn't purge entries in session history
This is not a regression, so not going to block the release on this. Blocking-.
blocking2.0: ? → -
nominating for future blocking due to privacy concerns
blocking2.0: - → ?
blocking2.0: ? → -
Component: General → Bookmarks & History
QA Contact: general → bookmarks
Component: Bookmarks & History → Private Browsing
We should really create another bugzilla component for Forget About this Site...
I'm fine with that, I'm not sure where to put its bugs indeed.
(In reply to Marco Bonardo [:mak] from comment #4)
> I'm fine with that, I'm not sure where to put its bugs indeed.

Filed bug 842399 for that.
Component: Private Browsing → Forget About Site
Product: Firefox → Toolkit
Blocks: 1102808
Priority: -- → P3
Severity: normal → S3

Hello, I would like to work on this issue and would like to have some general directions. Also, it seems that clear history does not clear tabs' history, too.

Regarding clearing the tab history, I can see that there is a TabStateCache that seems to be responsible for storing anything related to tabs and would it suffice to call TabStateCache.update(..., {"history": null}) to clear the history?

You can submit a patch and I can review it! I think it's reasonable to remove the tab history of the concerned tab that contains the site we want to forget.
However, I think It'd be nice if we could get rid of just that specific site from the tab history. I would look into the SessionStore code further to investigate this

Flags: needinfo?(akyl.sauranbai)

Hey, Harshit. Thank you very much. Right now, I am struggling to understand how to remove the entries and refresh the browsers. Can you review my code below?
I am planning to put it in this loop

for (let openTab of this._windows[ix].tabs) {
        for (let i = openTab.entries.length - 1; i >= 0; i--) {
          if (containsDomain(openTab.entries[i], this)) {
            refreshWindow = true;
            openTab.entries.splice(i, 1);
          }
        }
      }
Flags: needinfo?(akyl.sauranbai) → needinfo?(hsohaney)

Could you put this as a WIP patch on phabricator? It'd be easier for me to see where you're making this change

Flags: needinfo?(hsohaney) → needinfo?(akyl.sauranbai)
Assignee: nobody → akyl.sauranbai
Status: NEW → ASSIGNED

Patch was submitted

Flags: needinfo?(akyl.sauranbai)

Hey, are you still working on this, or need any help?

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

Attachment

General

Creator:
Created:
Updated:
Size: