Loading CHANGELOG.md +7 −0 Original line number Diff line number Diff line # 78.0.3904.105 * add flag to disable WebGL (fixes https://github.com/bromite/bromite/issues/411) * more selective AMP sanitization (fixes https://github.com/bromite/bromite/issues/410) * build optimizations to disable debug information # 78.0.3904.93 * introduce flags to disable browser fingerprinting capabilities (fixes https://github.com/bromite/bromite/issues/402) * major enhancements to AMP sanitization for news/images Loading @@ -9,6 +14,8 @@ * disable HEAD requests for single words typed and clicked in Omnibar * increase number of autocomplete matches from 5 to 10 * replace DoH probe domain with RIPE domain * merged fixes for adblock/javascript menu text (https://github.com/bromite/bromite/pull/398) * updated User-agent phone model and version # 78.0.3904.72 * updated User-agent phone model and version Loading build/GN_ARGS +4 −2 Original line number Diff line number Diff line Loading @@ -15,16 +15,18 @@ enable_remoting=false enable_reporting=false enable_resource_whitelist_generation=false enable_vr=false exclude_unwind_tables = true fieldtrial_testing_like_official_build=true is_cfi=true is_component_build=false is_debug=false is_official_build=true jumbo_file_merge_limit=60 remove_webcore_debug_symbols=true rtc_build_examples=false safe_browsing_mode=0 strip_absolute_paths_from_debug_symbols=true strip_debug_info=false strip_debug_info=true symbol_level=0 symbol_level=1 target_os="android" use_debug_fission=true Loading build/bromite_patches_list.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ safe_browsing-disable-cookie-transmission.patch Disable-safe-browsing.patch Skip-the-first-run-and-metrics.patch Disable-all-promo-dialogs.patch Disable-sync-services-menu-entry.patch Remove-signin-and-data-saver-integrations.patch Remove-background-sync-and-translate-menu-options.patch Hide-passwords-manager-link.patch Loading Loading @@ -139,3 +140,4 @@ Increase-number-of-autocomplete-matches-from-5-to-10.patch Disable-HEAD-requests-for-single-word-Omnibar-searches.patch Block-all-connection-requests-with-qjz9zk-in-the-domain-name-or-with-a-trk-scheme.patch Disable-some-signed-exchange-features.patch Add-flag-to-disable-WebGL.patch build/chromium_patches_list.txt +1 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,4 @@ AV1-codec-support.patch Switch-to-fstack-protector-strong.patch Enable-fwrapv-in-Clang-for-non-UBSan-builds.patch Disable-safe-browsing.patch Disable-sync-services-menu-entry.patch build/patches/Add-flag-to-disable-WebGL.patch 0 → 100644 +53 −0 Original line number Diff line number Diff line From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Sat, 16 Nov 2019 11:18:09 +0100 Subject: Add flag to disable WebGL --- chrome/browser/about_flags.cc | 3 +++ chrome/browser/flag_descriptions.cc | 4 ++++ chrome/browser/flag_descriptions.h | 3 +++ 3 files changed, 10 insertions(+) diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -1372,6 +1372,9 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kAccelerated2dCanvasName, flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, + {switches::kDisableWebGL, flag_descriptions::kDisableWebGLName, + flag_descriptions::kDisableWebGLDescription, kOsAll, + SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebGL)}, {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName, flag_descriptions::kCompositedLayerBordersDescription, kOsAll, SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)}, diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc @@ -385,6 +385,10 @@ const char kDisableAudioForDesktopShareDescription[] = "With this flag on, desktop share picker window will not let the user " "choose whether to share audio."; +const char kDisableWebGLName[] = "Disable all versions of WebGL"; + +const char kDisableWebGLDescription[] = "Disable all versions of WebGL"; + const char kDisableBestEffortTasksName[] = "Skip best effort tasks"; const char kDisableBestEffortTasksDescription[] = "With this flag on, tasks of the lowest priority will not be executed " diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h @@ -256,6 +256,9 @@ extern const char kDevtoolsExperimentsDescription[]; extern const char kDisableAudioForDesktopShareName[]; extern const char kDisableAudioForDesktopShareDescription[]; +extern const char kDisableWebGLName[]; +extern const char kDisableWebGLDescription[]; + extern const char kDisableBestEffortTasksName[]; extern const char kDisableBestEffortTasksDescription[]; -- 2.11.0 Loading
CHANGELOG.md +7 −0 Original line number Diff line number Diff line # 78.0.3904.105 * add flag to disable WebGL (fixes https://github.com/bromite/bromite/issues/411) * more selective AMP sanitization (fixes https://github.com/bromite/bromite/issues/410) * build optimizations to disable debug information # 78.0.3904.93 * introduce flags to disable browser fingerprinting capabilities (fixes https://github.com/bromite/bromite/issues/402) * major enhancements to AMP sanitization for news/images Loading @@ -9,6 +14,8 @@ * disable HEAD requests for single words typed and clicked in Omnibar * increase number of autocomplete matches from 5 to 10 * replace DoH probe domain with RIPE domain * merged fixes for adblock/javascript menu text (https://github.com/bromite/bromite/pull/398) * updated User-agent phone model and version # 78.0.3904.72 * updated User-agent phone model and version Loading
build/GN_ARGS +4 −2 Original line number Diff line number Diff line Loading @@ -15,16 +15,18 @@ enable_remoting=false enable_reporting=false enable_resource_whitelist_generation=false enable_vr=false exclude_unwind_tables = true fieldtrial_testing_like_official_build=true is_cfi=true is_component_build=false is_debug=false is_official_build=true jumbo_file_merge_limit=60 remove_webcore_debug_symbols=true rtc_build_examples=false safe_browsing_mode=0 strip_absolute_paths_from_debug_symbols=true strip_debug_info=false strip_debug_info=true symbol_level=0 symbol_level=1 target_os="android" use_debug_fission=true Loading
build/bromite_patches_list.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ safe_browsing-disable-cookie-transmission.patch Disable-safe-browsing.patch Skip-the-first-run-and-metrics.patch Disable-all-promo-dialogs.patch Disable-sync-services-menu-entry.patch Remove-signin-and-data-saver-integrations.patch Remove-background-sync-and-translate-menu-options.patch Hide-passwords-manager-link.patch Loading Loading @@ -139,3 +140,4 @@ Increase-number-of-autocomplete-matches-from-5-to-10.patch Disable-HEAD-requests-for-single-word-Omnibar-searches.patch Block-all-connection-requests-with-qjz9zk-in-the-domain-name-or-with-a-trk-scheme.patch Disable-some-signed-exchange-features.patch Add-flag-to-disable-WebGL.patch
build/chromium_patches_list.txt +1 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,4 @@ AV1-codec-support.patch Switch-to-fstack-protector-strong.patch Enable-fwrapv-in-Clang-for-non-UBSan-builds.patch Disable-safe-browsing.patch Disable-sync-services-menu-entry.patch
build/patches/Add-flag-to-disable-WebGL.patch 0 → 100644 +53 −0 Original line number Diff line number Diff line From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Sat, 16 Nov 2019 11:18:09 +0100 Subject: Add flag to disable WebGL --- chrome/browser/about_flags.cc | 3 +++ chrome/browser/flag_descriptions.cc | 4 ++++ chrome/browser/flag_descriptions.h | 3 +++ 3 files changed, 10 insertions(+) diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -1372,6 +1372,9 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kAccelerated2dCanvasName, flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, + {switches::kDisableWebGL, flag_descriptions::kDisableWebGLName, + flag_descriptions::kDisableWebGLDescription, kOsAll, + SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebGL)}, {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName, flag_descriptions::kCompositedLayerBordersDescription, kOsAll, SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)}, diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc @@ -385,6 +385,10 @@ const char kDisableAudioForDesktopShareDescription[] = "With this flag on, desktop share picker window will not let the user " "choose whether to share audio."; +const char kDisableWebGLName[] = "Disable all versions of WebGL"; + +const char kDisableWebGLDescription[] = "Disable all versions of WebGL"; + const char kDisableBestEffortTasksName[] = "Skip best effort tasks"; const char kDisableBestEffortTasksDescription[] = "With this flag on, tasks of the lowest priority will not be executed " diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h @@ -256,6 +256,9 @@ extern const char kDevtoolsExperimentsDescription[]; extern const char kDisableAudioForDesktopShareName[]; extern const char kDisableAudioForDesktopShareDescription[]; +extern const char kDisableWebGLName[]; +extern const char kDisableWebGLDescription[]; + extern const char kDisableBestEffortTasksName[]; extern const char kDisableBestEffortTasksDescription[]; -- 2.11.0