Browse Source

Update to Chromium 80.0.3987.87

Albert Tang 4 years ago
parent
commit
3933a1f6ec

+ 1 - 1
chromium_version.txt

@@ -1 +1 @@
-80.0.3987.66
+80.0.3987.87

+ 3 - 3
docs/developing.md

@@ -68,9 +68,9 @@ The resulting source tree in `build/src` *will not* have binaries pruned or doma
         * When removing large chunks of code, remove each line instead of using language features to hide or remove the code. This makes the patches less susceptible to breakages when using quilt's refresh command (e.g. quilt refresh updates the line numbers based on the patch context, so it's possible for new but desirable code in the middle of the block comment to be excluded.). It also helps with readability when someone wants to see the changes made based on the patch alone.
     3. Refresh the patch: `quilt refresh`
     4. Go back to Step 3.
-5. Run `devutils/validate_config.py`
-6. Run `quilt pop -a`
-7. Go back to ungoogled-chromium repo: `cd ../..`
+5. Run `quilt pop -a`
+6. Go back to ungoogled-chromium repo: `cd ../..`
+7. Run `devutils/validate_config.py`. If any warnings are printed, address them; otherwise, continue to Step 8.
 8. Run `devutils/validate_patches.py -l build/src`. If errors occur, go back to Step 3.
 
 This should leave unstaged changes in the git repository to be reviewed, added, and committed.

+ 1 - 0
domain_substitution.list

@@ -1223,6 +1223,7 @@ chrome/browser/ui/webui/theme_source_unittest.cc
 chrome/browser/ui/webui/welcome/google_apps_handler.cc
 chrome/browser/ui/webui/welcome/ntp_background_handler.cc
 chrome/browser/ui/window_sizer/window_sizer_ash.cc
+chrome/browser/updates/announcement_notification/announcement_notification_service_unittest.cc
 chrome/browser/usb/usb_browsertest.cc
 chrome/browser/usb/usb_chooser_context_unittest.cc
 chrome/browser/usb/usb_chooser_controller_unittest.cc

+ 2 - 2
patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch

@@ -1,6 +1,6 @@
 --- a/chrome/browser/BUILD.gn
 +++ b/chrome/browser/BUILD.gn
-@@ -3096,8 +3096,6 @@ jumbo_static_library("browser") {
+@@ -3097,8 +3097,6 @@ jumbo_static_library("browser") {
        "download/download_commands.h",
        "download/download_crx_util.cc",
        "download/download_crx_util.h",
@@ -746,7 +746,7 @@
  #include "chrome/browser/sharing/sharing_service_factory.h"
  #include "chrome/browser/signin/identity_manager_factory.h"
  #include "chrome/browser/signin/signin_ui_util.h"
-@@ -579,17 +578,6 @@ void ProfileImpl::LoadPrefsForNormalStar
+@@ -581,17 +580,6 @@ void ProfileImpl::LoadPrefsForNormalStar
  
    mojo::PendingRemote<prefs::mojom::TrackedPreferenceValidationDelegate>
        pref_validation_delegate;

+ 1 - 1
patches/core/ungoogled-chromium/block-trk-and-subdomains.patch

@@ -100,7 +100,7 @@
      return GURL(parts.scheme.is_valid() ? text : FixupPath(text));
 --- a/content/browser/child_process_security_policy_impl.cc
 +++ b/content/browser/child_process_security_policy_impl.cc
-@@ -531,6 +531,7 @@ ChildProcessSecurityPolicyImpl::ChildPro
+@@ -617,6 +617,7 @@ ChildProcessSecurityPolicyImpl::ChildPro
  #endif  // BUILDFLAG(ENABLE_WEBSOCKETS)
    RegisterWebSafeScheme(url::kFtpScheme);
    RegisterWebSafeScheme(url::kDataScheme);

+ 6 - 6
patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch

@@ -746,7 +746,7 @@
        std::make_unique<BrowserSigninPolicyHandler>(chrome_schema)));
 --- a/chrome/browser/prefs/browser_prefs.cc
 +++ b/chrome/browser/prefs/browser_prefs.cc
-@@ -126,7 +126,6 @@
+@@ -127,7 +127,6 @@
  #include "components/prefs/pref_service.h"
  #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
  #include "components/rappor/rappor_service_impl.h"
@@ -754,7 +754,7 @@
  #include "components/search_engines/template_url_prepopulate_data.h"
  #include "components/security_state/core/security_state.h"
  #include "components/sessions/core/session_id_generator.h"
-@@ -639,7 +638,6 @@ void RegisterLocalState(PrefRegistrySimp
+@@ -640,7 +639,6 @@ void RegisterLocalState(PrefRegistrySimp
    profiles::RegisterPrefs(registry);
    rappor::RapporServiceImpl::RegisterPrefs(registry);
    RegisterScreenshotPrefs(registry);
@@ -762,7 +762,7 @@
    secure_origin_whitelist::RegisterPrefs(registry);
    sessions::SessionIdGenerator::RegisterPrefs(registry);
    SSLConfigServiceManager::RegisterPrefs(registry);
-@@ -838,7 +836,6 @@ void RegisterProfilePrefs(user_prefs::Pr
+@@ -840,7 +838,6 @@ void RegisterProfilePrefs(user_prefs::Pr
    PushMessagingAppIdentifier::RegisterProfilePrefs(registry);
    QuietNotificationPermissionUiState::RegisterProfilePrefs(registry);
    RegisterBrowserUserPrefs(registry);
@@ -911,7 +911,7 @@
  #include "components/sync/driver/sync_service.h"
 --- a/chrome/browser/profiles/profile_impl.cc
 +++ b/chrome/browser/profiles/profile_impl.cc
-@@ -133,7 +133,6 @@
+@@ -135,7 +135,6 @@
  #include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
  #include "components/pref_registry/pref_registry_syncable.h"
  #include "components/prefs/scoped_user_pref_update.h"
@@ -4270,7 +4270,7 @@
  #include "components/sync_preferences/testing_pref_service_syncable.h"
 --- a/tools/metrics/histograms/enums.xml
 +++ b/tools/metrics/histograms/enums.xml
-@@ -62682,7 +62682,6 @@ Full version information for the fingerp
+@@ -62697,7 +62697,6 @@ Full version information for the fingerp
    <int value="3" label="kRestoreOnStartup"/>
    <int value="4" label="kURLsToRestoreOnStartup"/>
    <int value="5" label="extensions::pref_names::kExtensions"/>
@@ -4278,7 +4278,7 @@
    <int value="7" label="kSearchProviderOverrides"/>
    <int value="8" label="kDefaultSearchProviderSearchURL (Obsolete 12/2016)"/>
    <int value="9" label="kDefaultSearchProviderKeyword (Obsolete 12/2016)"/>
-@@ -62697,10 +62696,7 @@ Full version information for the fingerp
+@@ -62712,10 +62711,7 @@ Full version information for the fingerp
    <int value="18" label="kSafeBrowsingIncidentsSent"/>
    <int value="19" label="kSwReporterPromptVersion"/>
    <int value="20" label="kSwReporterPromptReason"/>

+ 3 - 3
patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch

@@ -9,7 +9,7 @@
 
 --- a/chrome/browser/BUILD.gn
 +++ b/chrome/browser/BUILD.gn
-@@ -2225,6 +2225,7 @@ jumbo_static_library("browser") {
+@@ -2226,6 +2226,7 @@ jumbo_static_library("browser") {
      "//third_party/metrics_proto",
      "//third_party/re2",
      "//third_party/smhasher:cityhash",
@@ -27,7 +27,7 @@
  #include "ui/accessibility/accessibility_features.h"
  #include "ui/accessibility/accessibility_switches.h"
  #include "ui/base/ui_base_features.h"
-@@ -1470,6 +1471,14 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1512,6 +1513,14 @@ const FeatureEntry kFeatureEntries[] = {
       "Force punycode hostnames",
       "Force punycode in hostnames instead of Unicode when displaying Internationalized Domain Names (IDNs).",
       kOsAll, SINGLE_VALUE_TYPE("force-punycode-hostnames")},
@@ -62,7 +62,7 @@
  #include "third_party/skia/include/core/SkBitmap.h"
  #include "ui/accessibility/accessibility_switches.h"
  #include "ui/base/ui_base_switches.h"
-@@ -3147,6 +3148,8 @@ void RenderProcessHostImpl::PropagateBro
+@@ -3150,6 +3151,8 @@ void RenderProcessHostImpl::PropagateBro
      switches::kEnableWebGLDraftExtensions,
      switches::kEnableWebGLImageChromium,
      switches::kFileUrlPathAlias,

+ 2 - 2
patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch

@@ -23,7 +23,7 @@ approach to change color components.
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1484,6 +1484,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1526,6 +1526,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Enable Canvas::measureText() fingerprint deception",
       "Scale the output values of Canvas::measureText() with a randomly selected factor in the range -0.0003% to 0.0003%, which are recomputed on every document initialization.",
       kOsAll, SINGLE_VALUE_TYPE(switches::kFingerprintingCanvasMeasureTextNoise)},
@@ -36,7 +36,7 @@ approach to change color components.
       SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)},
 --- a/content/browser/renderer_host/render_process_host_impl.cc
 +++ b/content/browser/renderer_host/render_process_host_impl.cc
-@@ -3150,6 +3150,7 @@ void RenderProcessHostImpl::PropagateBro
+@@ -3153,6 +3153,7 @@ void RenderProcessHostImpl::PropagateBro
      switches::kFileUrlPathAlias,
      switches::kFingerprintingClientRectsNoise,
      switches::kFingerprintingCanvasMeasureTextNoise,

+ 2 - 2
patches/extra/bromite/flag-max-connections-per-host.patch

@@ -17,7 +17,7 @@ with limited CPU/memory resources and it is disabled by default.
 
 --- a/chrome/browser/BUILD.gn
 +++ b/chrome/browser/BUILD.gn
-@@ -2062,6 +2062,7 @@ jumbo_static_library("browser") {
+@@ -2063,6 +2063,7 @@ jumbo_static_library("browser") {
      "//components/net_log",
      "//components/network_hints/common:mojo_bindings",
      "//components/network_session_configurator/browser",
@@ -39,7 +39,7 @@ with limited CPU/memory resources and it is disabled by default.
  // Ensure that all effective connection types returned by Network Quality
  // Estimator (NQE) are also exposed via flags.
  static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
-@@ -2461,6 +2466,9 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -2503,6 +2508,9 @@ const FeatureEntry kFeatureEntries[] = {
       flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll,
       FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)},
  #endif  // TOOLKIT_VIEWS || OS_ANDROID

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1439,6 +1439,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1481,6 +1481,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Enable stacking in tab strip",
       "Forces tabs to be stacked in the tab strip. Otherwise, they follow default behavior.",
       kOsAll, SINGLE_VALUE_TYPE("enable-stacked-tab-strip")},

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch

@@ -20,7 +20,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -1421,6 +1431,10 @@ const FeatureEntry::Choice kEnableCrOSAc
+@@ -1463,6 +1473,10 @@ const FeatureEntry::Choice kEnableCrOSAc
  //
  // When adding a new choice, add it to the end of the list.
  const FeatureEntry kFeatureEntries[] = {

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-force-punycode-hostnames.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1443,6 +1443,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1485,6 +1485,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Disable search engine collection",
       "Prevents search engines from being added automatically.",
       kOsAll, SINGLE_VALUE_TYPE("disable-search-engine-collection")},

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch

@@ -17,7 +17,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -3651,6 +3661,11 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -3693,6 +3703,11 @@ const FeatureEntry kFeatureEntries[] = {
       FEATURE_VALUE_TYPE(
           autofill::features::kAutofillEnableAccountWalletStorage)},
  

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch

@@ -20,7 +20,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -3745,6 +3758,11 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -3787,6 +3800,11 @@ const FeatureEntry kFeatureEntries[] = {
       FEATURE_VALUE_TYPE(arc::kEnableUnifiedAudioFocusFeature)},
  #endif  // defined(OS_CHROMEOS)
  

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-stack-tabs.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1421,6 +1421,10 @@ const FeatureEntry::Choice kEnableCrOSAc
+@@ -1463,6 +1463,10 @@ const FeatureEntry::Choice kEnableCrOSAc
  //
  // When adding a new choice, add it to the end of the list.
  const FeatureEntry kFeatureEntries[] = {