-
Notifications
You must be signed in to change notification settings - Fork 900
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
Issue 4552: Restore features to correct state after disabling field trials #2471
Conversation
ce050d4
to
8a0447f
Compare
I think some of enabled/disabled features by us in |
How about splitting this into two PRs(or commits)? |
@simonhong - |
8a0447f
to
522b68b
Compare
}; | ||
|
||
// Disabled features. | ||
const std::unordered_set<const char*> disabled_features = { | ||
autofill::features::kAutofillSaveCardSignInAfterLocalSave.name, | ||
autofill::features::kAutofillServerCommunication.name, | ||
features::kAudioServiceOutOfProcess.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing since this feature is disabled by default. https://cs.chromium.org/chromium/src/content/public/common/content_features.cc?l=51
The test in to check if this feature is disabled is still available in brave_main_delegate_browsertest.cc
to alert if this feature gets enabled in future. cc: @darkdh @mkarolin
}; | ||
|
||
// Disabled features. | ||
const std::unordered_set<const char*> disabled_features = { | ||
autofill::features::kAutofillSaveCardSignInAfterLocalSave.name, | ||
autofill::features::kAutofillServerCommunication.name, | ||
features::kAudioServiceOutOfProcess.name, | ||
features::kDefaultEnableOopRasterization.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
network::features::kNetworkService.name, | ||
unified_consent::kUnifiedConsent.name, | ||
features::kLookalikeUrlNavigationSuggestionsUI.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as: https://github.com/brave/brave-core/pull/2471/files#r286683268
Feature is disabled here: https://cs.chromium.org/chromium/src/chrome/common/chrome_features.cc?l=332
cc: @simonhong
1488acd
to
df516a6
Compare
# TODO(thakis): It's strange this is called "_like_official_build" but then | ||
# checks is_chrome_branded, not is_official_build. | ||
- fieldtrial_testing_like_official_build = is_chrome_branded | ||
+ fieldtrial_testing_like_official_build = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of modifying args here, overriding it from config.js
would be better.
IN_PROC_BROWSER_TEST_F(SecurityIndicatorTest, CheckIndicatorText) { | ||
const GURL kMockNonsecureURL = | ||
embedded_test_server()->GetURL("example.test", "/"); | ||
const base::string16 kEmptyString = base::string16(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi: there is base::EmptyString16()
.
3b8dd20
to
1fadff3
Compare
note for release managers: this needs to be in the same release as brave/brave-browser#4551 |
3f1896c
to
dc56bfd
Compare
namespace { | ||
typedef testing::Test FieldTrialsTest; | ||
|
||
TEST_F(FieldTrialsTest, FieldTrialsTestingEnabled) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we also verify that field trial downloads are disabled?
2. Using config.js instead of patch to disable field trials
…DownloadTest.VerifyChromiumPDFExntension
dc56bfd
to
58a37c5
Compare
Make sure brave/brave-browser#4551 and #2471 landed first
Updated this PR, brave/brave-browser#4551, and both issues (brave/brave-browser#4283 and brave/brave-browser#4552) to have the 0.68.x milestone 😄👍 Also added |
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Make sure brave/brave-browser#4551 and #2471 landed first
Fix brave/brave-browser#4552
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests && npm run test-security
) onnpm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Secure Chip
Secure Chip:
Lock Only:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.