removal of 00 prefix from patches not included in bromite.

This commit is contained in:
Carmelo Messina
2024-01-22 11:32:29 +01:00
parent 07ed430d73
commit 94d2bececa
96 changed files with 115 additions and 197 deletions
+96 -95
View File
@@ -150,7 +150,7 @@ Add-flag-for-save-data-header.patch
Disable-UA-full-version.patch
Dictionary-suggestions-for-the-Omnibox.patch
Disable-AsyncDNS-by-default.patch
00Restore-LastTabStandingTracker.patch
Restore-LastTabStandingTracker.patch
Add-lifetime-options-for-permissions.patch
Disable-crash-reporting.patch
Samsung-Note-9-SDK27-crazylinker-workaround.patch
@@ -181,56 +181,56 @@ Enable-third-party-storage-partitioning.patch
Restore-adaptive-button-in-top-toolbar-customization.patch
Add-kill-switch-for-unsupported-clangd-flags.patch
00WIN-enable-pdf-plugin.patch
00WIN-disable-annotate-downloads.patch
00WIN-enable-HighEfficiencyMode-by-default.patch
00WIN-enable-file-system-access-blocklist.patch
00WIN-Disable-TabHoverCard-images.patch
00WIN-Fix-log-to-file.patch
00WIN-Disable-updater.patch
00WIN-Disable-first-run.patch
00WIN-Add-some-prefs-to-secure-preferences.patch
00WIN-Disable-search-for-image.patch
WIN-enable-pdf-plugin.patch
WIN-disable-annotate-downloads.patch
WIN-enable-HighEfficiencyMode-by-default.patch
WIN-enable-file-system-access-blocklist.patch
WIN-Disable-TabHoverCard-images.patch
WIN-Fix-log-to-file.patch
WIN-Disable-updater.patch
WIN-Disable-first-run.patch
WIN-Add-some-prefs-to-secure-preferences.patch
WIN-Disable-search-for-image.patch
AudioBuffer-AnalyserNode-fp-mitigations.patch
00Disable-Component-Updates.patch
00add-browser-policy.patch
00Always-open-browser-controls-in-new-tab.patch
00Partitioning-all-cookies-by-top-frame-domain.patch
00Disable-FedCm.patch
00Disable-BackForwardCache.patch
00Evict-the-entire-FrameTree-like-desktop.patch
00Disable-visited-pseudo-class.patch
00Add-setting-to-clear-data-on-exit.patch
00WIN-Disable-sharing-hub.patch
Disable-Component-Updates.patch
add-browser-policy.patch
Always-open-browser-controls-in-new-tab.patch
Partitioning-all-cookies-by-top-frame-domain.patch
Disable-FedCm.patch
Disable-BackForwardCache.patch
Evict-the-entire-FrameTree-like-desktop.patch
Disable-visited-pseudo-class.patch
Add-setting-to-clear-data-on-exit.patch
WIN-Disable-sharing-hub.patch
Improve-the-browser-sandbox.patch
00Disable-csp-reports.patch
00Fonts-fingerprinting-mitigation.patch
00Keyboard-protection-flag.patch
00Disable-privacy-issues-in-password-manager.patch
00Partition-HSTS-cache-by-NAK.patch
00Warning-message-for-unsupported-hardware-aes.patch
00Enable-Document-Open-Inheritance-Removal.patch
00Add-setting-to-invert-tap-and-long-tap.patch
00Remove-ChromiumNetworkAdapter.patch
00Internal-firewall.patch
00Disable-devtools-remote-and-custom-protocols.patch
00Remove-detection-of-captive-portals.patch
00Disable-SHA1-Server-Signature.patch
00Remove-auth-header-upon-cross-origin-redirect.patch
00Clear-CORS-Preflight-Cache-on-clearing-data.patch
00Multi-Screen-Window-Placement-API-fix.patch
00Remove-https-connection-from-chrome-discards.patch
00Add-a-flag-to-disable-GamePad-API.patch
00Disable-WebGPU.patch
00Disable-FirstPartySets-and-StorageAccessAPI.patch
00Disable-GetInstalledRelatedApps-API.patch
00Disable-GSA-by-default.patch
00Disable-PrivateStateTokens-API.patch
00Disallowing-MIDI-permission-by-default.patch
00Disable-Compression-Dictionary-Transport.patch
00Disallow-Android-App-Scheme-as-referrer.patch
00Deprecate-Data-URL-in-SVGUseElement.patch
Disable-csp-reports.patch
Fonts-fingerprinting-mitigation.patch
Keyboard-protection-flag.patch
Disable-privacy-issues-in-password-manager.patch
Partition-HSTS-cache-by-NAK.patch
Warning-message-for-unsupported-hardware-aes.patch
Enable-Document-Open-Inheritance-Removal.patch
Add-setting-to-invert-tap-and-long-tap.patch
Remove-ChromiumNetworkAdapter.patch
Internal-firewall.patch
Disable-devtools-remote-and-custom-protocols.patch
Remove-detection-of-captive-portals.patch
Disable-SHA1-Server-Signature.patch
Remove-auth-header-upon-cross-origin-redirect.patch
Clear-CORS-Preflight-Cache-on-clearing-data.patch
Multi-Screen-Window-Placement-API-fix.patch
Remove-https-connection-from-chrome-discards.patch
Add-a-flag-to-disable-GamePad-API.patch
Disable-WebGPU.patch
Disable-FirstPartySets-and-StorageAccessAPI.patch
Disable-GetInstalledRelatedApps-API.patch
Disable-GSA-by-default.patch
Disable-PrivateStateTokens-API.patch
Disallowing-MIDI-permission-by-default.patch
Disable-Compression-Dictionary-Transport.patch
Disallow-Android-App-Scheme-as-referrer.patch
Deprecate-Data-URL-in-SVGUseElement.patch
Content-settings-infrastructure.patch
Add-autoplay-site-setting.patch
Site-setting-for-images.patch
@@ -240,56 +240,57 @@ Add-webRTC-site-settings.patch
Show-site-settings-for-cookies-javascript-and-ads.patch
Viewport-Protection-flag.patch
Timezone-customization.patch
00Disable-speechSynthesis-getVoices-API.patch
00Remove-support-for-device-memory-and-cpu-recovery.patch
00Log-dangling-attributes-in-some-html-elements.patch
00Keep-Side-Panel-Companion-disabled.patch
00Lock-Profile-Cookie-Database.patch
00Show-warnings-on-downloads-over-HTTP.patch
00Compress-libchrome-to-free-up-some-space.patch
00Cromite-Branding.patch
00Disable-Feeback-Collector.patch
00Disable-remote-altsvc-for-h3-connections.patch
00do-not-block-build-incompatible-profiles.patch
00Allow-DocumentPiP-if-PopupsAndRedirects-are-active.patch
00allow-the-download-of-clang-for-windows-crossbuild.patch
00Add-option-to-disable-snapshots.patch
00Enable-Android-Dynamic-Performance-Framework.patch
00Remove-GoogleAccountsPrivateApiHost.patch
00Fix-crash-on-customize-profile-ui.patch
00Enable-ImprovedBookmarks-by-default.patch
00Partition-MediaDeviceId-by-default.patch
00Keep-disabled-FetchLaterAPI.patch
00Disable-ranker-url-fetcher.patch
00Show-full-urls-for-bookmark.patch
00Disable-prefers-reduced-transparency-media-query.patch
00libjxl-0-8-2.patch
00Add-support-to-jxl.patch
00Block-Intents-While-Locked.patch
00Keep-Manta-Service-Disabled.patch
00Disable-Service-and-Shared-workers-on-3P-iframe.patch
00Disable-Real-Box.patch
00Always-allow-inspect-fallback.patch
00Add-cromite-flags-support.patch
00Add-PartialLowEndModeOnMidRangeDevices-flag.patch
00Use-list-mode-for-tab-switcher.patch
00Chrome-web-store-protection.patch
00Enable-search-engine-settings-desktop-ui.patch
00Disable-Android-AppRestrictions.patch
00Customize-selection-popup.patch
00Enables-deactivation-of-the-js-debugger-statement.patch
00Enable-gwp-asan-on-Android.patch
Disable-speechSynthesis-getVoices-API.patch
Remove-support-for-device-memory-and-cpu-recovery.patch
Log-dangling-attributes-in-some-html-elements.patch
Keep-Side-Panel-Companion-disabled.patch
Lock-Profile-Cookie-Database.patch
Show-warnings-on-downloads-over-HTTP.patch
Compress-libchrome-to-free-up-some-space.patch
Cromite-Branding.patch
Disable-Feeback-Collector.patch
Disable-remote-altsvc-for-h3-connections.patch
do-not-block-build-incompatible-profiles.patch
Allow-DocumentPiP-if-PopupsAndRedirects-are-active.patch
allow-the-download-of-clang-for-windows-crossbuild.patch
Add-option-to-disable-snapshots.patch
Enable-Android-Dynamic-Performance-Framework.patch
Remove-GoogleAccountsPrivateApiHost.patch
Fix-crash-on-customize-profile-ui.patch
Enable-ImprovedBookmarks-by-default.patch
Partition-MediaDeviceId-by-default.patch
Keep-disabled-FetchLaterAPI.patch
Disable-ranker-url-fetcher.patch
Show-full-urls-for-bookmark.patch
Disable-prefers-reduced-transparency-media-query.patch
libjxl-0-8-2.patch
Add-support-to-jxl.patch
Block-Intents-While-Locked.patch
Keep-Manta-Service-Disabled.patch
Disable-Service-and-Shared-workers-on-3P-iframe.patch
Disable-Real-Box.patch
Always-allow-inspect-fallback.patch
Add-cromite-flags-support.patch
Add-PartialLowEndModeOnMidRangeDevices-flag.patch
Use-list-mode-for-tab-switcher.patch
Chrome-web-store-protection.patch
Enable-search-engine-settings-desktop-ui.patch
Disable-Android-AppRestrictions.patch
Customize-selection-popup.patch
Enables-deactivation-of-the-js-debugger-statement.patch
Enable-gwp-asan-on-Android.patch
Temp-PerformanceNavigationTiming-privacy-fix.patch
Temp-disable-predictive-back-gesture.patch
TEMP-Add-a-log-to-track-strange-behavior.patch
Temp-guard-FileSystemAccessPersistentPermissions.patch
Fix-chromium-build-bugs.patch
00Temp-PerformanceNavigationTiming-privacy-fix.patch
00Temp-disable-predictive-back-gesture.patch
00TEMP-Add-a-log-to-track-strange-behavior.patch
00Temp-guard-FileSystemAccessPersistentPermissions.patch
00Fix-chromium-build-bugs.patch
eyeo-beta-118.0.5993.48-base.patch
eyeo-beta-118.0.5993.48-chrome_integration.patch
eyeo-beta-118.0.5993.48-android_api.patch
eyeo-beta-118.0.5993.48-android_settings.patch
eyeo-beta-118.0.5993.48-extension_api.patch
00Eyeo-Adblock-Remove-Privacy-Issues.patch
00AdblockPlus-add-blocking-in-service-workers.patch
00AdblockPlus-connect-popup-blocker.patch
Eyeo-Adblock-Remove-Privacy-Issues.patch
AdblockPlus-add-blocking-in-service-workers.patch
AdblockPlus-connect-popup-blocker.patch
@@ -729,4 +729,3 @@ diff --git a/content/public/browser/content_browser_client.h b/content/public/br
const absl::optional<std::string>& user_agent,
mojo::PendingRemote<network::mojom::WebSocketHandshakeClient>
--
2.25.1
@@ -167,4 +167,3 @@ new file mode 100644
+
+#endif // ifdef FLAG_SECTION
--
2.25.1
@@ -71,4 +71,3 @@ diff --git a/third_party/blink/renderer/modules/gamepad/navigator_gamepad.cc b/t
DCHECK(processing_events_);
DCHECK(has_connection_event_listener_);
--
2.25.1
@@ -1718,4 +1718,3 @@ diff --git a/third_party/blink/public/common/features.h b/third_party/blink/publ
} // namespace blink
--
2.25.1
@@ -228,4 +228,3 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
<message name="IDS_TAB_MANAGEMENT_MODULE_TITLE" desc="Text shown when the Tab Management module is referenced in install start, success, failure UI (e.g. in IDS_MODULE_INSTALL_START_TEXT, which will expand to 'Installing Tab management for Chrome…').">
Tab management
--
2.25.1
@@ -711,4 +711,3 @@ diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage
settings.size_in_bytes());
}
--
2.25.1
@@ -574,4 +574,3 @@ diff --git a/third_party/blink/renderer/core/page/context_menu_controller.h b/th
bool ShouldShowContextMenuFromTouch(const ContextMenuData&);
--
2.25.1
@@ -2670,4 +2670,3 @@ diff --git a/tools/metrics/histograms/enums.xml b/tools/metrics/histograms/enums
<int value="191737931" label="enable-mark-http-as"/>
<int value="191891628" label="AutocompleteExtendedSuggestions:enabled"/>
--
2.25.1
@@ -27,4 +27,3 @@ diff --git a/third_party/blink/renderer/modules/document_picture_in_picture/pict
web_options.width = options->width();
web_options.height = options->height();
--
2.25.1
@@ -28,4 +28,3 @@ diff --git a/chrome/browser/resources/inspect/inspect.js b/chrome/browser/resour
const propertiesBox = row.querySelector('.properties-box');
propertiesBox.insertBefore(favicon, propertiesBox.firstChild);
--
2.25.1
@@ -42,4 +42,3 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabContextM
RecordUserAction.record("LinkOpenedInNewTab");
LoadUrlParams loadUrlParams = new LoadUrlParams(url.getSpec());
--
2.25.1
@@ -15,4 +15,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kBlockIntentsWhileLocked);
--
2.25.1
@@ -1142,4 +1142,3 @@ diff --git a/tools/typescript/definitions/developer_private.d.ts b/tools/typescr
export interface ExtensionCommandUpdate {
--
2.25.1
@@ -89,4 +89,3 @@ diff --git a/services/network/network_context.cc b/services/network/network_cont
if (memory_cache)
memory_cache->Clear();
--
2.25.1
@@ -22,4 +22,3 @@ diff --git a/chrome/android/chrome_public_apk_tmpl.gni b/chrome/android/chrome_p
# Crashpad trampoline lives in TrichromeLibrary.apk.
# https://chromium.googlesource.com/chromium/src/+/main/docs/android_native_libraries.md#Crashpad-Packaging
--
2.25.1
@@ -18199,4 +18199,3 @@ diff --git a/tools/grit/grit/grd_reader.py b/tools/grit/grit/grd_reader.py
class GrdPartContentHandler(xml.sax.handler.ContentHandler):
def __init__(self, parent):
--
2.25.1
@@ -423,4 +423,3 @@ diff --git a/content/public/android/java/src/org/chromium/content/browser/select
}
--
2.25.1
@@ -22,4 +22,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
{
name: "RemoveMobileViewportDoubleTap",
--
2.25.1
@@ -128,4 +128,3 @@ new file mode 100644
@@ -0,0 +1 @@
+BASE_DECLARE_FEATURE(kEnableAndroidAppRestriction);
--
2.25.1
@@ -15,4 +15,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_DISABLED(kBackForwardCache);
--
2.25.1
@@ -44,4 +44,3 @@ diff --git a/components/component_updater/component_updater_service.cc b/compone
} // namespace component_updater
--
2.25.1
@@ -32,4 +32,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
{
name: "ComputedAccessibilityInfo",
--
2.25.1
@@ -28,4 +28,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
},
{
--
2.25.1
@@ -53,4 +53,3 @@ diff --git a/chrome/browser/feedback/android/java/src/org/chromium/chrome/browse
// 4. Kick off a task to timeout the async sources.
ThreadUtils.postOnUiThreadDelayed(this, TIMEOUT_MS);
--
2.25.1
@@ -48,4 +48,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_DISABLED(kFirstPartySets);
--
2.25.1
@@ -141,4 +141,3 @@ new file mode 100644
+SET_CROMITE_FEATURE_DISABLED(kContextMenuSearchWithGoogleLens);
+SET_CROMITE_FEATURE_DISABLED(kExperimentsForAgsa);
--
2.25.1
@@ -55,4 +55,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
},
{
--
2.25.1
@@ -16,4 +16,3 @@ new file mode 100644
+SET_CROMITE_FEATURE_DISABLED(kPrivateStateTokens);
+SET_CROMITE_FEATURE_DISABLED(kFledgePst);
--
2.25.1
@@ -58,4 +58,3 @@ diff --git a/components/search/ntp_features.cc b/components/search/ntp_features.
// If enabled, Google Lens image search will call Lens v3 direct upload
// endpoint instead of uploading to Scotty.
--
2.25.1
@@ -15,4 +15,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_DISABLED(kSHA1ServerSignature);
--
2.25.1
@@ -98,4 +98,3 @@ diff --git a/components/embedder_support/content_settings_utils.cc b/components/
content_settings::PageSpecificContentSettings::SharedWorkerAccessed(
render_process_id, render_frame_id, worker_url, name, storage_key,
--
2.25.1
@@ -32,4 +32,3 @@ diff --git a/third_party/blink/renderer/modules/webgpu/gpu.cc b/third_party/blin
auto* resolver = MakeGarbageCollected<ScriptPromiseResolver>(script_state);
--
2.25.1
@@ -34,4 +34,3 @@ diff --git a/third_party/blink/renderer/core/loader/ping_loader.cc b/third_party
request.SetHttpMethod(http_names::kPOST);
request.SetHTTPContentType(AtomicString("application/csp-report"));
--
2.25.1
@@ -28,4 +28,3 @@ diff --git a/chrome/browser/ui/webui/devtools/devtools_ui_data_source.cc b/chrom
GURL custom_devtools_frontend = GetCustomDevToolsFrontendURL();
if (!custom_devtools_frontend.is_empty()) {
--
2.25.1
@@ -22,4 +22,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
// This feature is deprecated and we are evangelizing affected sites.
// See https://crbug.com/346236 for current status.
--
2.25.1
@@ -153,4 +153,3 @@ diff --git a/components/password_manager/core/browser/leak_detection/leak_detect
void LeakDetectionCheckImpl::Start(LeakDetectionInitiator initiator,
--
2.25.1
@@ -29,4 +29,3 @@ diff --git a/components/translate/core/browser/translate_ranker_impl.cc b/compon
std::ostream& operator<<(std::ostream& stream,
--
2.25.1
@@ -62,4 +62,3 @@ diff --git a/net/quic/quic_context.h b/net/quic/quic_context.h
bool estimate_initial_rtt = false;
// The initial rtt that will be used in crypto handshake if no cached
--
2.25.1
@@ -183,4 +183,3 @@ diff --git a/third_party/blink/renderer/modules/speech/speech_synthesis.cc b/thi
VoicesDidChange();
}
--
2.25.1
@@ -63,4 +63,3 @@ diff --git a/components/visitedlink/common/visitedlink_common.cc b/components/vi
// wasn't found). This loop will terminate as long as the table isn't full,
// which should be enforced by AddFingerprint.
--
2.25.1
@@ -22,4 +22,3 @@ diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer
// or javascript: URLs typed in the omnibox.
WebSecurityPolicy::RegisterURLSchemeAsNotAllowingJavascriptURLs(
--
2.25.1
@@ -15,4 +15,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kBlockMidiByDefault);
--
2.25.1
@@ -37,4 +37,3 @@ diff --git a/components/viz/common/features.cc b/components/viz/common/features.
// If enabled, Chrome verifies that Renderer threads do not belong to the
// Browser process asynchronously via a mojo call to the Browser before
--
2.25.1
@@ -94,4 +94,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
{
name: "DocumentPictureInPictureAPI",
--
2.25.1
@@ -111,4 +111,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kAndroidImprovedBookmarks);
--
2.25.1
@@ -254,4 +254,3 @@ diff --git a/components/memory_system/memory_system.cc b/components/memory_syste
if (profiling_client_parameters) {
--
2.25.1
@@ -2209,4 +2209,3 @@ diff --git a/ui/webui/resources/js/load_time_data.ts b/ui/webui/resources/js/loa
}
--
2.25.1
@@ -333,4 +333,3 @@ diff --git a/v8/src/runtime/runtime-debug.cc b/v8/src/runtime/runtime-debug.cc
}
--
2.25.1
@@ -28,4 +28,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kInnerFrameCompositorSurfaceEviction);
--
2.25.1
@@ -12055,4 +12055,3 @@ diff --git a/tools/typescript/definitions/adblock_private.d.ts b/tools/typescrip
url: string;
count: number;
--
2.25.1
@@ -179,4 +179,3 @@ diff --git a/third_party/libevent/BUILD.gn b/third_party/libevent/BUILD.gn
configs += [ "//build/config/compiler:no_chromium_code" ]
}
--
2.25.1
@@ -42,4 +42,3 @@ diff --git a/chrome/browser/ui/webui/customize_themes/chrome_customize_themes_ha
colors->frame = theme_colors.frame_color;
colors->active_tab = theme_colors.active_tab_color;
--
2.25.1
@@ -563,4 +563,3 @@ diff --git a/third_party/blink/renderer/platform/fonts/win/font_cache_skia_win.c
!TypefacesMatchesFamily(typeface.get(), adjusted_name)) {
return nullptr;
--
2.25.1
@@ -1998,4 +1998,3 @@ diff --git a/tools/traffic_annotation/scripts/auditor/util.py b/tools/traffic_an
--
2.25.1
@@ -19,4 +19,3 @@ diff --git a/components/manta/features.cc b/components/manta/features.cc
bool IsMantaServiceEnabled() {
return base::FeatureList::IsEnabled(kMantaService);
--
2.25.1
@@ -69,4 +69,3 @@ diff --git a/components/search_engines/template_url.cc b/components/search_engin
bool TemplateURL::IsSideImageSearchSupported() const {
--
2.25.1
@@ -31,4 +31,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
base_feature: "FetchLaterAPI",
// base_feature is meant as kill-switch. This runtime-enabled feature
--
2.25.1
@@ -9,14 +9,14 @@ keyboard events.
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
.../Keyboard-protection-flag.inc | 10 +++
.../renderer/core/events/keyboard_event.cc | 66 +++++++++++++++++++
.../renderer/core/events/keyboard_event.cc | 77 +++++++++++++++++++
.../renderer/core/events/keyboard_event.h | 3 +
ui/base/ui_base_features.cc | 8 +++
ui/base/ui_base_features.cc | 8 ++
ui/base/ui_base_features.h | 2 +
.../dom/dom_keyboard_layout_map_win.cc | 13 ++++
.../keycodes/keyboard_code_conversion.cc | 10 ++-
ui/events/keycodes/keyboard_code_conversion.h | 2 +-
8 files changed, 111 insertions(+), 3 deletions(-)
8 files changed, 122 insertions(+), 3 deletions(-)
create mode 100644 cromite_flags/chrome/browser/about_flags_cc/Keyboard-protection-flag.inc
diff --git a/cromite_flags/chrome/browser/about_flags_cc/Keyboard-protection-flag.inc b/cromite_flags/chrome/browser/about_flags_cc/Keyboard-protection-flag.inc
@@ -50,9 +50,11 @@ diff --git a/third_party/blink/renderer/core/events/keyboard_event.cc b/third_pa
#include "third_party/blink/renderer/core/editing/ime/input_method_controller.h"
#include "third_party/blink/renderer/core/event_interface_names.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
@@ -34,7 +37,10 @@
@@ -33,8 +36,12 @@
#include "third_party/blink/renderer/core/input/input_device_capabilities.h"
#include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
+#include "third_party/blink/renderer/platform/weborigin/scheme_registry.h"
#include "third_party/blink/renderer/platform/windows_keyboard_codes.h"
+#include "ui/base/ui_base_features.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
@@ -61,11 +63,21 @@ diff --git a/third_party/blink/renderer/core/events/keyboard_event.cc b/third_pa
namespace blink {
@@ -133,6 +139,60 @@ KeyboardEvent::KeyboardEvent(const WebKeyboardEvent& key,
@@ -133,6 +140,70 @@ KeyboardEvent::KeyboardEvent(const WebKeyboardEvent& key,
else
key_code_ = char_code_;
+ if (features::IsSystemKeyboardProtectionEnabled()) {
+ bool keyboard_protection = features::IsSystemKeyboardProtectionEnabled();
+ if (dom_window) {
+ if (auto* frame = dom_window->GetFrame()) {
+ String protocol =
+ frame->GetSecurityContext()->GetSecurityOrigin()->Protocol();
+ if (SchemeRegistry::IsWebUIScheme(protocol)) {
+ keyboard_protection = false;
+ }
+ }
+ }
+ if (keyboard_protection) {
+ // we need character for transformation
+ ui::DomKey ascii_key;
+ ui::DomKey original_dom_key = static_cast<ui::DomKey>(key.dom_key);
@@ -122,7 +134,7 @@ diff --git a/third_party/blink/renderer/core/events/keyboard_event.cc b/third_pa
#if BUILDFLAG(IS_ANDROID)
// FIXME: Check to see if this applies to other OS.
// If the key event belongs to IME composition then propagate to JS.
@@ -205,6 +265,12 @@ unsigned KeyboardEvent::which() const {
@@ -205,6 +276,12 @@ unsigned KeyboardEvent::which() const {
return (unsigned)keyCode();
}
@@ -256,4 +268,3 @@ diff --git a/ui/events/keycodes/keyboard_code_conversion.h b/ui/events/keycodes/
} // namespace ui
--
2.25.1
@@ -19,4 +19,3 @@ new file mode 100644
+
+#endif
--
2.25.1
@@ -343,4 +343,3 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5
name: "MachineLearningCommon",
implied_by: ["MachineLearningModelLoader", "MachineLearningNeuralNetwork"],
--
2.25.1
@@ -99,4 +99,3 @@ diff --git a/third_party/blink/renderer/core/frame/screen.h b/third_party/blink/
} // namespace blink
--
2.25.1
@@ -685,4 +685,3 @@ diff --git a/services/network/public/mojom/network_context.mojom b/services/netw
// Sets whether the HTTP auth cache will be split the NetworkAnonymizationKey.
// Only affects server (not proxy) credentials. Whenever the effective value
--
2.25.1
@@ -52,4 +52,3 @@ diff --git a/content/browser/renderer_host/media/media_devices_manager.cc b/cont
GetAudioInputCapabilities(video_input_capabilities_requested,
audio_input_capabilities_requested,
--
2.25.1
@@ -294,4 +294,3 @@ diff --git a/ui/webui/webui_allowlist.cc b/ui/webui/webui_allowlist.cc
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
--
2.25.1
@@ -293,4 +293,3 @@ diff --git a/net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java b
- }
}
--
2.25.1
@@ -87,4 +87,3 @@ diff --git a/chrome/renderer/google_accounts_private_api_util.cc b/chrome/render
- blink::Platform::Current()->IsLockedToSite();
}
--
2.25.1
@@ -44,4 +44,3 @@ diff --git a/third_party/blink/renderer/platform/loader/fetch/url_loader/sync_lo
*context_for_redirect_ = nullptr;
std::move(follow_redirect_callback_)
--
2.25.1
@@ -20,4 +20,3 @@ diff --git a/chrome/browser/net/profile_network_context_service.cc b/chrome/brow
registry->RegisterBooleanPref(prefs::kGloballyScopeHTTPAuthCacheEnabled,
false);
--
2.25.1
@@ -21,4 +21,3 @@ diff --git a/chrome/browser/resources/discards/graph_doc_template.html b/chrome/
${javascript_file}
</script>
--
2.25.1
@@ -197,4 +197,3 @@ diff --git a/third_party/blink/renderer/core/timing/window_performance.cc b/thir
const uint64_t kBytesInKB = 1024;
auto* execution_context = ExecutionContext::From(script_state);
--
2.25.1
@@ -414,4 +414,3 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
web_contents);
if (MediaEngagementService::IsEnabled()) {
--
2.25.1
@@ -34,4 +34,3 @@ diff --git a/components/omnibox/browser/titled_url_match_utils.cc b/components/o
// instead when creating shortcuts.
if (show_path)
--
2.25.1
@@ -15,4 +15,3 @@ new file mode 100644
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kInsecureDownloadWarnings);
--
2.25.1
@@ -19,4 +19,3 @@ diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
}
--
2.25.1
@@ -48,4 +48,3 @@ diff --git a/third_party/blink/renderer/core/timing/performance_resource_timing.
}
--
2.25.1
@@ -20,4 +20,3 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
{% if channel in ['canary', 'dev', 'default'] %}
--
2.25.1
@@ -41,4 +41,3 @@ diff --git a/chrome/browser/file_system_access/file_system_access_features.cc b/
+SET_CROMITE_FEATURE_DISABLED(kFileSystemAccessPersistentPermissions);
} // namespace features
--
2.25.1
@@ -114,4 +114,3 @@ new file mode 100644
+ "TabSwitcherListMode",
+ base::FEATURE_DISABLED_BY_DEFAULT);
--
2.25.1
@@ -25,4 +25,3 @@ diff --git a/chrome/browser/prefs/chrome_pref_service_factory.cc b/chrome/browse
PrefTrackingStrategy::ATOMIC, ValueType::IMPERSONAL},
{1, prefs::kHomePageIsNewTabPage, EnforcementLevel::ENFORCE_ON_LOAD,
--
2.25.1
@@ -23,4 +23,3 @@ diff --git a/chrome/browser/ui/ui_features.cc b/chrome/browser/ui/ui_features.cc
const char kTabHoverCardImagesNotReadyDelayParameterName[] =
--
2.25.1
@@ -19,4 +19,3 @@ diff --git a/chrome/browser/ui/startup/first_run_service.cc b/chrome/browser/ui/
}
--
2.25.1
@@ -19,4 +19,3 @@ diff --git a/components/renderer_context_menu/context_menu_content_type.cc b/com
case ITEM_GROUP_MEDIA_VIDEO:
return params_.media_type == ContextMenuDataMediaType::kVideo;
--
2.25.1
@@ -66,4 +66,3 @@ diff --git a/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controll
// static
--
2.25.1
@@ -96,4 +96,3 @@ diff --git a/chrome/browser/updater/browser_updater_client.cc b/chrome/browser/u
scoped_refptr<BrowserUpdaterClient> BrowserUpdaterClient::Create(
--
2.25.1
@@ -103,4 +103,3 @@ diff --git a/content/app/content_main.cc b/content/app/content_main.cc
switches::kHeadless)) {
// When running in headless mode we want stdio routed however if
--
2.25.1
@@ -21,4 +21,3 @@ diff --git a/components/download/internal/common/download_file_impl.cc b/compone
RenameWithRetryInternal(std::move(parameters));
}
--
2.25.1
@@ -27,4 +27,3 @@ diff --git a/components/performance_manager/user_tuning/prefs.cc b/components/pe
kBatterySaverModeState,
static_cast<int>(BatterySaverModeState::kEnabledBelowThreshold));
--
2.25.1
@@ -17,4 +17,3 @@ diff --git a/content/browser/file_system_access/features.cc b/content/browser/fi
+SET_CROMITE_FEATURE_ENABLED(kFileSystemAccessDragAndDropCheckBlocklist);
} // namespace content::features
--
2.25.1
@@ -21,4 +21,3 @@ diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/
void LocalFrame::SetAdTrackerForTesting(AdTracker* ad_tracker) {
--
2.25.1
@@ -169,4 +169,3 @@ new file mode 100644
@@ -0,0 +1 @@
+CONTENT_EXPORT BASE_DECLARE_FEATURE(kNoAESHardwareMessage);
--
2.25.1
@@ -866,4 +866,3 @@ diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_
" ", // To force an HTTP POST.
kFormEncodedContentType, "Origin: https://www.google.com",
--
2.25.1
@@ -69,4 +69,3 @@ diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
if __name__ == '__main__':
--
2.25.1
@@ -20,4 +20,3 @@ diff --git a/v8/BUILD.gn b/v8/BUILD.gn
if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
--
2.25.1
@@ -181297,4 +181297,3 @@ new file mode 100644
+
+int main() { jxl::PrintXybRange(); }
--
2.25.1