-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
browser requires restart for "x-brave-partner" headers to start working #3143
Comments
We have the following logic in our code and I think it's the root cause of the problem:
If it's the first run, we read the promo code and initialize the referral. If it's not the first run, we fetch the referral headers. That means the first run won't have referral headers until a restart (or until the next time we periodically fetch them, but that's once a day so that's not terribly useful). Seems like the fix would be to just remove the cc: @rebron |
Verification passed on
Verification passed on
Verified passed with
Verification PASSED on
MW Test Case:
Barrons Test Case:
Cheddar Test Case:
Verification passed on
|
Description
Similar to #2020 (might be the same issue), the
x-brave-partner
headers are not being used when initially launching Brave. I'm not 100% sure if it's timed base and we have to wait X amount of minutes beforex-brave-partner
starts being being used or if there's an issue with the header on first launch. Restarting the browser fixes the problem.Steps to Reproduce
0.58.21 Chromium: 71.0.3578.98
0.58.21
and visit https://cheddar.comx-brave-partner: cheddar
is missingx-brave-partner: cheddar
is now appearingActual result:
Expected result:
Reproduces how often:
100% reproducible when going through the above STR.
Brave version (brave://version info)
Reproducible on current release:
Yes, also reproducible on the following build:
Website problems only:
N/A
N/A
Additional Information
The text was updated successfully, but these errors were encountered: