Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information