Skip to content
New issue

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

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

Already on GitHub? # to your account

brave_ads.enabled_last_profile is false when only profile left has ads enabled #28776

Closed
btlechowski opened this issue Feb 27, 2023 · 1 comment

Comments

@btlechowski
Copy link

btlechowski commented Feb 27, 2023

Follow up to: #26864
This happens after deleting profile that ads were never enabled

Steps to Reproduce

  1. Profile1: Enabled ads
  2. Profile2: Do not able ads
  3. Run Brave
  4. Delete Profile2 using Profile Manager (make sure you don't activate the window of Profile1)
  5. Check brave_ads.enabled_last_profile in local state

Actual result:

brave_ads.enabled_last_profile is false

Note: the state is fixed when window with Profile1 is activated

Expected result:

brave_ads.enabled_last_profile is true, because only profile left has ads enabled

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave 1.49.91 Chromium: 110.0.5481.77 (Official Build) beta (64-bit)
Revision 65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}
OS Ubuntu 18.04 LTS

cc @tmancey @aseren @DJAndries

@tmancey tmancey added priority/P3 The next thing for us to work on. It'll ride the trains. bug labels Mar 1, 2023
@btlechowski btlechowski added the needs-investigation A bug not 100% confirmed/fixed label Mar 6, 2023
@btlechowski
Copy link
Author

I am not able to reproduce on 1.49.93.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants