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

Fix re-appearing unwanted components #7496

Merged
merged 4 commits into from
Dec 28, 2020
Merged

Conversation

mherrmann
Copy link
Collaborator

@mherrmann mherrmann commented Dec 23, 2020

Resolves brave/brave-browser#8709.

The unwanted components on brave://components have re-appeared. The reason is that I introduced a bug when I implemented a suggestion by a reviewer on my original PR without thinking.

Submitter Checklist:

  • There is a ticket for my issue.
  • Used Github auto-closing keywords in the commit message.
  • Wrote a good PR/commit description
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally: npm run test -- brave_browser_tests, npm run test -- brave_unit_tests, npm run lint, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed).
  • Requested a security/privacy review as needed.

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

Open brave://components on Windows, Mac, Linux and Android and check that none of the components described in brave/brave-browser#8709 (comment) are visible. The only exception is CRLSet on Android which @pj said should actually be there.

@mherrmann mherrmann added the CI/skip-ios Do not run CI builds for iOS label Dec 23, 2020
@mherrmann mherrmann requested a review from a team as a code owner December 23, 2020 06:16
@mherrmann mherrmann self-assigned this Dec 23, 2020
The unwanted components on brave://components have re-appeared. This
commit adds some logging to find out whether our override that should
prevent them gets called.
@mherrmann mherrmann changed the title Fix re-appearing unwanted components (WIP) Fix re-appearing unwanted components Dec 28, 2020
@mherrmann mherrmann merged commit 3ecdb0e into master Dec 28, 2020
@mherrmann mherrmann deleted the mherrmann-fix-bb-8709 branch December 28, 2020 17:54
@mherrmann
Copy link
Collaborator Author

Checked in Nightly v1.20.48 that this PR worked. On Linux with an empty profile, the components are not there:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-ios Do not run CI builds for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove unsupported components in brave://components
3 participants