Open Bug 1199470 Opened 9 years ago Updated 4 months ago

Let users Clear History for a specific Container

Categories

(Toolkit :: Data Sanitization, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox57 --- fix-optional

People

(Reporter: englehardt, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [userContextId][domsecurity-backlog3])

In Bug 1165267 originArributes support will be added to cookies. This will include the userContextId which was added in Bug 1179557.

We should allow users to clear history only within certain contexts. This includes both the "Clear recent history..." Menu UI and the Privacy Preferences UI under "Clear History When Firefox Closes". It can be exposed as a series of checkboxes so multiple contexts can be cleared at the same time.
Depends on: 1165267
Hi Tanvi
Should we start working on History-Clearing now?
Or it should be in v2 like Bookmark, permissions, prefs, ..etc.
Flags: needinfo?(tanvi)
(In reply to Yoshi Huang[:allstars.chh] from comment #1)
> Hi Tanvi
> Should we start working on History-Clearing now?
> Or it should be in v2 like Bookmark, permissions, prefs, ..etc.

Hi Yoshi,
History clearing for a specific context should be v2.  But History clearing for all context should work in v1.  So if the user selects to clear the last hour of history, then we should delete all history from all user context ids.  Ex: cookies set or updated in the last hour in all contexts, cache entries set or updated in the last hour in all contexts, etc.  Can you confirm that this is working correctly?  Also adding Kamil who may be able to help you with this.

Do you think we should update the history clearing mochitest (assuming there is one) to make sure it uses originAttributes properly?
Flags: needinfo?(tanvi)
(In reply to Tanvi Vyas - behind on needinfos [:tanvi] from comment #2)
> Can you
> confirm that this is working correctly?  Also adding Kamil who may be able
> to help you with this.
> 
> Do you think we should update the history clearing mochitest (assuming there
> is one) to make sure it uses originAttributes properly?
Yeah, I'll check this.
Assignee: nobody → allstars.chh
Whiteboard: [userContextId]
Yoshi, can you file a second bug for history clearing in general (which is high priority)?  We can then leave this bug for clearing history for a specific container (which is for a future version).
Flags: needinfo?(allstars.chh)
Summary: Add userContextId to History Clearing → Let users Clear History for a specific Container
Flags: needinfo?(allstars.chh)
Priority: -- → P3
Assignee: allstars.chh → nobody
Component: Security → DOM: Security
Product: Firefox → Core
Whiteboard: [userContextId] → [userContextId][domsecurity-backlog]
Whiteboard: [userContextId][domsecurity-backlog] → [userContextId][domsecurity-backlog3]
Component: DOM: Security → Data Sanitization
Product: Core → Toolkit
Severity: normal → S3
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.