Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue 3258: Using BraveUpdateClientConfig to send requests for extension update in XML and disable CUP signing #1602
Conversation
083eee2
to
8de1464
|
I guess there's no way to opt out of this particular field trial? This change seems fine, but just wondering if that would be a simpler way to achieve the same effect. |
@emerick - We can override the field trial flag by adding the feature to the disabled features in https://github.com/brave/brave-core/blob/master/app/brave_main_delegate.cc#L134. @bbondy and I discussed the fix before, but using |
|
@jumde OK, makes sense. |
|
LGTM |
7e6dfe5
to
aac79c2
…ion update in XML and disable CUP signing. Go-Updater expects update requests in XML format. ChromeUpdateClientConfig uses feature flag kFeatureUpdateClientUseJSON to check if the request should be in XML or JSON format. This flag is disabled by default, but overridden by field trials. This change ensures that ProtocolHandlerFactoryXML is used to send XML update requests to go-updater. This change also disables CUP signing for extension updates. auditors: @bbondy, @emerick
|
PR passed the PR builder: https://staging.ci.brave.com/job/brave-browser-build-pr/job/brave-core-PR-1602/15/ |
|
LGTM |
Issue 3258: Using BraveUpdateClientConfig to send requests for extension update in XML and disable CUP signing
Issue 3258: Using BraveUpdateClientConfig to send requests for extension update in XML and disable CUP signing
jumde commentedFeb 6, 2019
•
edited
fix: brave/brave-browser#3258
Description
Go-Updater expects update requests in XML format. ChromeUpdateClientConfig uses feature flag kFeatureUpdateClientUseJSON to check if the request should be in XML or JSON format. This flag is disabled by default, but overridden by field trials.
This change ensures that BraveUpdateClientConfig uses ProtocolHandlerFactoryXML is used to send XML update requests to go-updater. This change also disables CUP signing for extension updates.
auditors: @bbondy, @emerick
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests) ongit rebase master(if needed).git rebase -ito squash commits (if needed).Test Plan:
brave://extensionsDeveloper Modeand clickUpdateReviewer Checklist: