question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Include in Auto-Contribute" pref not working for Greaselion-enabled publishers

See original GitHub issue

Description

“Include in Auto-Contribute” pref auto-toggles to OFF after first flipping OFF to ON, then dismissing panel.

Steps to Reproduce

  1. new profile, launch Brave with --args --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=6,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true,reconcile-interval=5
  2. click “Skip welcome tour”
  3. click “Start using Rewards”
  4. click “Claim my Rewards”
  5. pass the reCaptcha challenge
  6. load https://twitter.com/bravelaurenwags
  7. click on the BAT icon in the URL bar
  8. notice that “Include in Auto-Contribute” is toggled ON
  9. toggle it from ON to OFF
  10. dismiss the Rewards panel
  11. click on the BAT icon in the URL bar again
  12. now click to toggle from OFF to ON, dismiss the panel
  13. reopen the panel now, and notice that “Include in Auto-Contribute” self-toggles to OFF

Actual result:

“Include in Auto-Contribute” auto-toggles back to OFF, and the following exception is dumped in the console:

[19807:775:0301/110936.784322:WARNING:CONSOLE(1)] "Received external message from a sender who is not allowed to send messages to this background. Origin: chrome-extension://jidkidbbcafjabdphckchenhfomhnfma, URL: chrome-extension://jidkidbbcafjabdphckchenhfomhnfma/brave_rewards_panel.html", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)

twitter-tipping

Expected result:

“Include in Auto-Contribute” should be ON, as the ON/OFF preference for “Include in Auto-Contribute” should persist between panel openings/closings.

Reproduces how often:

100%

Brave version (brave://version info)

Brave 1.21.70 Chromium: 89.0.4389.69 (Official Build) (x86_64)
Revision 6df9174a477a0bea2118cb4669954d517be16104-refs/branch-heads/4389@{#1332}
OS macOS Version 11.2.2 (Build 20D80)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes (1.20.110)
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

cc: @emerick @LaurenWags

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
emerickcommented, Mar 8, 2021

@stephendonner Nice, I can repro following what you did in that GIF. Will investigate, thanks.

1reaction
zenparsingcommented, Mar 2, 2021

Thanks @stephendonner for the very detailed description - will look into it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bat sent to wrong remittee : @BravePublishers? - Rewards ...
I have got some bats from Brave browser usage. I have enable auto-contribute and checked one remittee (100% for one website/Publisher).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found