Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move cookie list override logic to account for uninitialized preferences #11730

Merged
merged 1 commit into from
Jan 4, 2022

Commits on Jan 4, 2022

  1. move cookie list override logic to account for uninitialized preferences

    The previous implementation only iterated through lists that existed in
    the preferences already, so in practice it would only override lists
    that had `enabled: false` - i.e. lists that had been enabled and
    disabled again before the "touched" preference was introduced.
    
    This fix clones the preferences dictionary and adds the cookie list with
    `enabled: true` to the cloned dictionary if the override should occur.
    antonok-edm committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    ccef18a View commit details
    Browse the repository at this point in the history