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

Update ads status header hosts list #26904

Closed
aseren opened this issue Nov 21, 2022 · 2 comments · Fixed by brave/brave-core#16043
Closed

Update ads status header hosts list #26904

aseren opened this issue Nov 21, 2022 · 2 comments · Fixed by brave/brave-core#16043

Comments

@aseren
Copy link

aseren commented Nov 21, 2022

Add following hosts: safesearch.brave.com, safesearch.brave.software, safesearch.bravesoftware.com

The X-Brave-Ads-Enabled header description: https://github.com/brave/brave-browser/wiki/Custom-Headers#x-brave-ads-enabled

@btlechowski
Copy link

btlechowski commented Jan 19, 2023

Verification passed on

Brave 1.48.125 Chromium: 109.0.5414.87 (Official Build) beta (64-bit)
Revision 2dc18eb511c56e012081b4abc9e38c81c885f7d4-refs/branch-heads/5414@{#1241}
OS Ubuntu 18.04 LTS

Verified test plan from brave/brave-core#16043

Test case 1 - https://safesearch.brave.com/ - clean profile

Verified X-Brave-Ads-Enabled header is not set in the request after opening https://safesearch.brave.com/

image

Verified X-Brave-Ads-Enabled header is not set in the request after using the search box on https://safesearch.brave.com/
image

Test case 2 - https://safesearch.brave.com/ - ads enabled

Verified X-Brave-Ads-Enabled header is set in the request after opening https://safesearch.brave.com/
image

Verified X-Brave-Ads-Enabled header is set in the request after using the search box on https://safesearch.brave.com/
image

Test case 3 - window.brave.getCanSetDefaultSearchProvider on https://github.com/

window.brave.getCanSetDefaultSearchProvider
image

window.brave.setIsDefaultSearchProvider
image

Test case 4 - window.brave.getCanSetDefaultSearchProvider on https://safesearch.brave.com/

window.brave.getCanSetDefaultSearchProvider
image

window.brave.setIsDefaultSearchProvider
image

Test case 5 - https://github.com/ when ads enabled

Verified X-Brave-Ads-Enabled header is not set in the request
image

Test case 6 - https://safesearch.brave.com/ when ads disabled

ads disabled
image

Verified X-Brave-Ads-Enabled header is not set in the request after opening https://safesearch.brave.com/
image

Verified X-Brave-Ads-Enabled header is not set in the request after using the search box on https://safesearch.brave.com/
image

@btlechowski btlechowski added QA Pass-Linux QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Jan 19, 2023
@btlechowski
Copy link

Verification passed on Brave v1.48.151 on Lenovo TB-8506FS (Android 11.0)

Verified test plan from brave/brave-core#16043

Test case 1 - https://safesearch.brave.com/ - clean profile

Verified X-Brave-Ads-Enabled header is not set in the request after opening https://safesearch.brave.com/
image

Verified X-Brave-Ads-Enabled header is not set in the request after using the search box on https://safesearch.brave.com/
image

Test case 2 - https://safesearch.brave.com/ - ads enabled

Verified X-Brave-Ads-Enabled header is set in the request after opening https://safesearch.brave.com/
image

Verified X-Brave-Ads-Enabled header is set in the request after using the search box on https://safesearch.brave.com/
image

Test case 3 - window.brave.getCanSetDefaultSearchProvider on https://github.com/

window.brave.getCanSetDefaultSearchProvider
image

window.brave.setIsDefaultSearchProvider
image

Test case 4 - window.brave.getCanSetDefaultSearchProvider on https://safesearch.brave.com/

window.brave.getCanSetDefaultSearchProvider
image

window.brave.setIsDefaultSearchProvider
image

Test case 5 - https://github.com/ when ads enabled

Verified X-Brave-Ads-Enabled header is not set in the request
image

Test case 6 - https://safesearch.brave.com/ when ads disabled

Verified X-Brave-Ads-Enabled header is not set in the request after opening https://safesearch.brave.com/
image

Verified X-Brave-Ads-Enabled header is not set in the request after using the search box on https://safesearch.brave.com/
image

@btlechowski btlechowski added QA Pass - Android Tab and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Feb 3, 2023
@tmancey tmancey added this to Ads Jun 10, 2024
@tmancey tmancey moved this to Done in Ads Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants