Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Bug 1309672 - Clear user data between sessions #12

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

st3fan
Copy link
Contributor

@st3fan st3fan commented Oct 25, 2016

This patch introduces a WebCacheUtils with a clear() function that clears the storage cache and removes all cookies. It is called both at app startup and when the user hits the Clear button.

import Foundation

class WebCacheUtils {
private static func reset() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove private; don't think this will build otherwise.

@st3fan st3fan force-pushed the st3fan/Bug1309672ClearUserData branch from 41fa223 to 3d7e661 Compare October 25, 2016 01:26
@st3fan st3fan merged commit 2131303 into master Oct 25, 2016
@thebnich thebnich deleted the st3fan/Bug1309672ClearUserData branch October 26, 2016 01:13
isabelrios pushed a commit to isabelrios/firefox-ios that referenced this pull request Feb 14, 2024
isabelrios pushed a commit to isabelrios/firefox-ios that referenced this pull request Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants