Rename patches

to simplify future upstream merge
This commit is contained in:
Carmelo Messina
2023-02-15 10:42:12 +01:00
parent 33b9cfd80e
commit b0d1766743
82 changed files with 513 additions and 110 deletions
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Mon, 30 Jan 2023 15:14:09 +0000
Subject: 109 Add an always-incognito mode fixup
Subject: 109 ADDNEW Add an always-incognito mode
---
.../chrome/browser/ChromeTabbedActivity.java | 13 ++++++++++---
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Sun, 18 Dec 2022 16:38:48 +0000
Subject: Client hints overrides (add fixup)
Subject: 109 ADDNEW Client hints overrides
---
.../blink/renderer/platform/runtime_enabled_features.json5 | 4 ++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 19 Oct 2022 13:25:14 +0000
Subject: Disable fetching of all field trials (add fixup)
Subject: 109 ADDNEW Disable fetching of all field trials
---
chrome/browser/net/system_network_context_manager.cc | 1 -
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Tue, 31 Jan 2023 13:58:21 +0000
Subject: fix InitiatorOrigin (add fixup)
Subject: 109 ADDNEW Enable share intent
---
.../chromium/chrome/browser/IntentHandler.java | 16 +++++++++++++++-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Sun, 18 Dec 2022 16:37:43 +0000
Subject: Guard for user-agent reduction (add fixup)
Subject: 109 ADDNEW Guard for user-agent reduction
---
chrome/browser/chrome_content_browser_client.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Tue, 27 Dec 2022 16:58:28 +0000
Subject: Move navigation bar to bottom (add fixup)
Subject: 109 ADDNEW Move navigation bar to bottom
---
.../start_surface/StartSurfaceMediator.java | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 28 Dec 2022 12:22:07 +0000
Subject: Remove HTTP referrals in cross origin navi (fixup)
Subject: 109 ADDNEW Remove HTTP referrals in cross origin
---
chrome/android/chrome_java_resources.gni | 2 +
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 19 Oct 2022 13:01:32 +0000
Subject: ungoogled-chr no special hosts/domains (add fixup)
Subject: 109 ADDNEW ungoogled-chr no special hosts/domains
---
chrome/browser/BUILD.gn | 8 --
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:48:07 +0000
Subject: Add a proxy configuration page (add fixup)
Subject: 109 ADDTO Add a proxy configuration page
---
chrome/browser/resources/proxy_config.html | 1 -
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:37:12 +0000
Subject: Add webGL site setting (add fixup)
Subject: 109 ADDTO Add webGL site setting
---
.../core/browser/content_settings_registry.cc | 6 +++---
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:37:41 +0000
Subject: Add webRTC site settings (add fixup)
Subject: 109 ADDTO Add webRTC site settings
---
.../core/browser/content_settings_registry.cc | 6 +++---
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:33:47 +0000
Subject: Disable conversion measurement api (add fixup)
Subject: 109 ADDTO Disable conversion measurement api
---
.../attribution_report_network_sender.cc | 8 ++++++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:34:41 +0000
Subject: Disable safe browsing (add fixup)
Subject: 109 ADDTO Disable safe browsing
---
.../chrome_file_system_access_permission_context.cc | 4 +++-
@@ -11,7 +11,7 @@ Subject: Disable safe browsing (add fixup)
diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc
--- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc
+++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc
@@ -117,6 +117,7 @@ const char kPathKey[] = "path";
@@ -115,6 +115,7 @@ const char kPathKey[] = "path";
const char kPathTypeKey[] = "path-type";
const char kTimestampKey[] = "timestamp";
@@ -19,7 +19,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread(
content::GlobalRenderFrameHostId frame_id,
const url::Origin& origin,
@@ -146,7 +147,6 @@ void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread(
@@ -144,7 +145,6 @@ void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread(
origin, handle_type, std::move(callback), web_contents);
}
@@ -27,7 +27,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
void ShowFileSystemAccessDangerousFileDialogOnUIThread(
content::GlobalRenderFrameHostId frame_id,
const url::Origin& origin,
@@ -488,6 +488,7 @@ base::StringPiece GetGrantKeyFromGrantType(GrantType type) {
@@ -437,6 +437,7 @@ base::StringPiece GetGrantKeyFromGrantType(GrantType type) {
: kPermissionReadableKey;
}
@@ -35,7 +35,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
bool FileHasDangerousExtension(const url::Origin& origin,
const base::FilePath& path,
Profile* profile) {
@@ -499,6 +500,7 @@ bool FileHasDangerousExtension(const url::Origin& origin,
@@ -448,6 +449,7 @@ bool FileHasDangerousExtension(const url::Origin& origin,
return danger_level == safe_browsing::DownloadFileType::DANGEROUS ||
danger_level == safe_browsing::DownloadFileType::ALLOW_ON_USER_GESTURE;
}
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Tue, 4 Oct 2022 07:45:59 +0000
Subject: OpenSearch: miscellaneous (fixup)
Subject: 109 ADDTO OpenSearch: miscellaneous
---
components/search_engines/template_url_parser.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:26:25 +0000
Subject: Remove binary blob integrations (add fixup)
Subject: 109 ADDTO Remove binary blob integrations
---
chrome/android/java/AndroidManifest.xml | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:29:23 +0000
Subject: Remove price/shopping/commerce integra (add fixup)
Subject: 109 ADDTO Remove price/shopping/commerce integra
---
.../chrome/browser/app/ChromeActivity.java | 4 ----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:27:59 +0000
Subject: Remove signin and sync integrations (add fixup)
Subject: 109 ADDTO Remove signin and sync integrations
---
chrome/android/BUILD.gn | 1 +
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:36:46 +0000
Subject: Timezone customization (add fixup)
Subject: 109 ADDTO Timezone customization
---
.../core/browser/content_settings_registry.cc | 8 ++++----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:30:19 +0000
Subject: User agent customization (add fixup)
Subject: 109 ADDTO User agent customization
---
.../android/preferences/privacy_preferences_manager_impl.cc | 4 +++-
@@ -0,0 +1,48 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:10:51 +0000
Subject: 110 ADDTO Add custom tab intents privacy option
---
chrome/browser/flags/android/chrome_feature_list.cc | 6 +++---
components/language/core/common/language_experiments.cc | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
--- a/chrome/browser/flags/android/chrome_feature_list.cc
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
@@ -575,8 +575,8 @@ BASE_FEATURE(kCCTIncognitoAvailableToThirdParty,
base::FEATURE_ENABLED_BY_DEFAULT); // in Bromite
BASE_FEATURE(kCCTIntentFeatureOverrides,
- "CCTIntentFeatureOverrides",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ "CCTIntentFeatureOverrides", // must be disabled
+ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite
BASE_FEATURE(kCCTPackageNameRecording,
"CCTPackageNameRecording",
@@ -584,7 +584,7 @@ BASE_FEATURE(kCCTPackageNameRecording,
BASE_FEATURE(kCCTPostMessageAPI,
"CCTPostMessageAPI",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kCCTPrefetchDelayShowOnStart,
"CCTPrefetchDelayShowOnStart",
diff --git a/components/language/core/common/language_experiments.cc b/components/language/core/common/language_experiments.cc
--- a/components/language/core/common/language_experiments.cc
+++ b/components/language/core/common/language_experiments.cc
@@ -45,8 +45,8 @@ BASE_FEATURE(kContentLanguagesInLanguagePicker,
"ContentLanguagesInLanguagePicker",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kCctAutoTranslate,
- "CCTAutoTranslate",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ "CCTAutoTranslate", // Always disabled
+ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite
// Params:
const char kBackoffThresholdKey[] = "backoff_threshold";
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:20:30 +0000
Subject: 110 Add lifetime options for permissions
Subject: 110 ADDTO Add lifetime options for permissions
---
.../contexts/geolocation_permission_context_android.cc | 2 +-
@@ -1,11 +1,23 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 16:53:07 +0000
Subject: 110 add Allow building without enable_reporting
Subject: 110 ADDTO Allow building without enable_reporting
---
chrome/browser/net/chrome_report_sender.cc | 1 +
third_party/blink/renderer/core/frame/reporting_observer.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/browser/net/chrome_report_sender.cc b/chrome/browser/net/chrome_report_sender.cc
--- a/chrome/browser/net/chrome_report_sender.cc
+++ b/chrome/browser/net/chrome_report_sender.cc
@@ -85,6 +85,7 @@ void SendReport(
const std::string& report,
base::OnceClosure success_callback,
ErrorCallback error_callback) {
+ if ((true)) return;
auto resource_request = std::make_unique<network::ResourceRequest>();
resource_request->url = report_uri;
resource_request->method = "POST";
diff --git a/third_party/blink/renderer/core/frame/reporting_observer.cc b/third_party/blink/renderer/core/frame/reporting_observer.cc
--- a/third_party/blink/renderer/core/frame/reporting_observer.cc
+++ b/third_party/blink/renderer/core/frame/reporting_observer.cc
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:26:26 +0000
Subject: 110 Content settings infrastructure
Subject: 110 ADDTO Content settings infrastructure
---
.../BromiteCustomContentSettingImpl.java | 1 +
@@ -12,7 +12,7 @@ Subject: 110 Content settings infrastructure
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java
@@ -83,6 +83,7 @@ public abstract class BromiteCustomContentSettingImpl {
@@ -82,6 +82,7 @@ public abstract class BromiteCustomContentSettingImpl {
return cs.getContentSetting();
}
}
@@ -57,7 +57,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
@@ -231,10 +231,9 @@ public class SiteSettingsCategory {
@@ -230,10 +230,9 @@ public class SiteSettingsCategory {
return ContentSettingsType.TIMEZONE_OVERRIDE;
case Type.ALL_SITES:
case Type.USE_STORAGE:
@@ -0,0 +1,37 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:20:29 +0000
Subject: 110 ADDTO Disable all predictors code
---
chrome/browser/predictors/loading_predictor_config.cc | 4 ++--
.../blink/renderer/platform/runtime_enabled_features.json5 | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/browser/predictors/loading_predictor_config.cc b/chrome/browser/predictors/loading_predictor_config.cc
--- a/chrome/browser/predictors/loading_predictor_config.cc
+++ b/chrome/browser/predictors/loading_predictor_config.cc
@@ -12,8 +12,8 @@
namespace predictors {
BASE_FEATURE(kSpeculativePreconnectFeature,
- "SpeculativePreconnect",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ "SpeculativePreconnect", // always disabled
+ base::FEATURE_DISABLED_BY_DEFAULT); // in bromite
// Returns whether the speculative preconnect feature is enabled.
bool IsPreconnectFeatureEnabled() {
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -2217,7 +2217,7 @@
{
// https://crbug.com/1126305
name: "Prerender2",
- status: "stable",
+ status: "test",
base_feature: "Prerender2",
},
// This RTE feature is used to indicate the status of RTE feature Prerender2
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:21:50 +0000
Subject: 110 Disable safe browsing
Subject: 110 ADDTO Disable safe browsing
---
.../chrome/browser/privacy_guide/PrivacyGuideUtils.java | 6 ++----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:21:11 +0000
Subject: 110 Do not compile QR code sharing
Subject: 110 ADDTO Do not compile QR code sharing
---
.../share/qrcode/scan_tab/QrCodeScanMediator.java | 11 -----------
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:22:04 +0000
Subject: 110 Do not store passwords by default
Subject: 110 ADDTO Do not store passwords by default
---
components/password_manager/core/browser/password_manager.cc | 4 ++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:19:59 +0000
Subject: 110 Enable native Android autofill
Subject: 110 ADDTO Enable native Android autofill
---
components/autofill/content/browser/content_autofill_driver.cc | 2 +-
@@ -1,18 +1,20 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:14:58 +0000
Subject: 110 Experimental user scripts support
Subject: 110 ADDTO Experimental user scripts support
---
.../user_scripts/browser/resources/user-script-ui/BUILD.gn | 3 +--
.../user_scripts/browser/resources/user-script-ui/BUILD.gn | 4 ++--
.../browser/resources/user-script-ui/user-scripts-ui.js | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/user_scripts/browser/resources/user-script-ui/BUILD.gn b/components/user_scripts/browser/resources/user-script-ui/BUILD.gn
--- a/components/user_scripts/browser/resources/user-script-ui/BUILD.gn
+++ b/components/user_scripts/browser/resources/user-script-ui/BUILD.gn
@@ -6,7 +6,6 @@ js_type_check("closure_compile") {
@@ -5,8 +5,8 @@ js_type_check("closure_compile") {
}
js_library("view_script_source") {
+ sources = [ "user-scripts-ui.js" ]
deps = [
- "//ui/webui/resources/js:cr.m",
- "//ui/webui/resources/js:util",
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:35:17 +0000
Subject: 110 JIT site settings
Subject: 110 ADDTO JIT site settings
---
.../browser_ui/site_settings/SingleCategorySettings.java | 5 +++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:19:15 +0000
Subject: 110 Logcat crash reports UI
Subject: 110 ADDTO Logcat crash reports UI
---
.../crash/core/browser/resources/crashes.ts | 54 +------------------
@@ -0,0 +1,137 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:15:24 +0000
Subject: 110 ADDTO Multiple fingerprinting mitigations
---
.../blink/renderer/core/dom/document.cc | 8 +++++---
.../renderer/core/svg/svg_graphics_element.cc | 3 ++-
.../core/svg/svg_text_content_element.cc | 19 +++++++++++++------
.../offscreen_canvas_rendering_context_2d.cc | 9 ++++++++-
4 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink/renderer/core/dom/document.cc
--- a/third_party/blink/renderer/core/dom/document.cc
+++ b/third_party/blink/renderer/core/dom/document.cc
@@ -826,10 +826,12 @@ Document::Document(const DocumentInit& initializer,
: nullptr),
data_(MakeGarbageCollected<DocumentData>(GetExecutionContext())) {
DCHECK(agent_);
- if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) {
+ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled() ||
+ RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() ||
+ RuntimeEnabledFeatures::FingerprintingCanvasImageDataNoiseEnabled()) {
// Precompute -0.0003% to 0.0003% noise factor for get*ClientRect*() fingerprinting
- noise_factor_x_ = 1 + (base::RandDouble() - 0.5) * 0.000003;
- noise_factor_y_ = 1 + (base::RandDouble() - 0.5) * 0.000003;
+ noise_factor_x_ = 1.0 + (base::RandDouble() - 0.5) * 0.0003;
+ noise_factor_y_ = 1.0 + (base::RandDouble() - 0.5) * 0.0003;
} else {
noise_factor_x_ = 1;
noise_factor_y_ = 1;
diff --git a/third_party/blink/renderer/core/svg/svg_graphics_element.cc b/third_party/blink/renderer/core/svg/svg_graphics_element.cc
--- a/third_party/blink/renderer/core/svg/svg_graphics_element.cc
+++ b/third_party/blink/renderer/core/svg/svg_graphics_element.cc
@@ -191,7 +191,8 @@ SVGRectTearOff* SVGGraphicsElement::getBBoxFromJavascript() {
if (layout_object->IsSVGText() || layout_object->IsSVGInline())
UseCounter::Count(GetDocument(), WebFeature::kGetBBoxForText);
- bounding_box.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled())
+ bounding_box.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
}
return SVGRectTearOff::CreateDetached(bounding_box);
}
diff --git a/third_party/blink/renderer/core/svg/svg_text_content_element.cc b/third_party/blink/renderer/core/svg/svg_text_content_element.cc
--- a/third_party/blink/renderer/core/svg/svg_text_content_element.cc
+++ b/third_party/blink/renderer/core/svg/svg_text_content_element.cc
@@ -124,7 +124,9 @@ float SVGTextContentElement::getComputedTextLength() {
} else {
value = SVGTextQuery(layout_object).TextLength();
}
- return value * GetDocument().GetNoiseFactorX();
+ return value *
+ (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() ?
+ GetDocument().GetNoiseFactorX() : 1);
}
float SVGTextContentElement::getSubStringLength(
@@ -152,7 +154,8 @@ float SVGTextContentElement::getSubStringLength(
value = NGSvgTextQuery(*layout_object).SubStringLength(charnum, nchars);
else
value = SVGTextQuery(layout_object).SubStringLength(charnum, nchars);
- return value * GetDocument().GetNoiseFactorX();
+ return value * (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() ?
+ GetDocument().GetNoiseFactorX() : 1);
}
SVGPointTearOff* SVGTextContentElement::getStartPositionOfChar(
@@ -176,7 +179,8 @@ SVGPointTearOff* SVGTextContentElement::getStartPositionOfChar(
} else {
point = SVGTextQuery(layout_object).StartPositionOfCharacter(charnum);
}
- point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled())
+ point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
return SVGPointTearOff::CreateDetached(point);
}
@@ -201,7 +205,8 @@ SVGPointTearOff* SVGTextContentElement::getEndPositionOfChar(
} else {
point = SVGTextQuery(layout_object).EndPositionOfCharacter(charnum);
}
- point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled())
+ point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
return SVGPointTearOff::CreateDetached(point);
}
@@ -226,7 +231,8 @@ SVGRectTearOff* SVGTextContentElement::getExtentOfChar(
} else {
rect = SVGTextQuery(layout_object).ExtentOfCharacter(charnum);
}
- rect.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled())
+ rect.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
return SVGRectTearOff::CreateDetached(rect);
}
@@ -257,7 +263,8 @@ int SVGTextContentElement::getCharNumAtPosition(
DocumentUpdateReason::kJavaScript);
auto* layout_object = GetLayoutObject();
gfx::PointF target = gfx::PointF(point->Target()->Value());
- target.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled())
+ target.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
if (IsNGTextOrInline(layout_object)) {
return NGSvgTextQuery(*layout_object)
.CharacterNumberAtPosition(target);
diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc
--- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc
+++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc
@@ -5,6 +5,7 @@
#include "third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h"
#include "base/metrics/histogram_functions.h"
+#include "base/rand_util.h"
#include "base/trace_event/trace_event.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_gpucanvascontext_imagebitmaprenderingcontext_offscreencanvasrenderingcontext2d_webgl2renderingcontext_webglrenderingcontext.h"
@@ -756,9 +757,15 @@ TextMetrics* OffscreenCanvasRenderingContext2D::measureText(
TextDirection direction = ToTextDirection(GetState().GetDirection());
- return MakeGarbageCollected<TextMetrics>(font, direction,
+ TextMetrics* text_metrics = MakeGarbageCollected<TextMetrics>(font, direction,
GetState().GetTextBaseline(),
GetState().GetTextAlign(), text);
+ // Scale text metrics if enabled
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) {
+ float v = 1.0 + (base::RandDouble() - 0.5) * 0.0003;
+ text_metrics->Shuffle(v);
+ }
+ return text_metrics;
}
const Font& OffscreenCanvasRenderingContext2D::AccessFont() {
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:16:28 +0000
Subject: 110 Remove blocklisted URLs upon bookmark creation
Subject: 110 ADDTO Remove blocklisted URLs upon bookmark
---
.../org/chromium/chrome/browser/bookmarks/TabBookmarker.java | 4 ++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:14:29 +0000
Subject: 110 Remove signin and sync integrations
Subject: 110 ADDTO Remove signin and sync integrations
---
.../java/res/xml/privacy_preferences_v2.xml | 4 --
@@ -0,0 +1,22 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:30:52 +0000
Subject: 110 ADDTO Revert removal of execution context addr
---
content/public/common/content_features.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -162,7 +162,7 @@ BASE_FEATURE(kBlockInsecurePrivateNetworkRequestsFromPrivate,
// - kBlockInsecurePrivateNetworkRequests
BASE_FEATURE(kBlockInsecurePrivateNetworkRequestsFromUnknown,
"BlockInsecurePrivateNetworkRequestsFromUnknown",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// Enables use of the PrivateNetworkAccessNonSecureContextsAllowed deprecation
// trial. This is a necessary yet insufficient condition: documents that wish to
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:33:42 +0000
Subject: 110 Revert the removal of an option to block autoplay
Subject: 110 ADDTO Revert the removal of an option to block
---
.../browser_ui/site_settings/SingleCategorySettings.java | 5 +++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:08:36 +0000
Subject: 109 Samsung Note 9 SDK27 crazylinker workaround
Subject: 110 ADDTO Samsung Note 9 SDK27 crazylinker workaro
---
.../java/src/org/chromium/base/library_loader/LibraryLoader.java | 1 +
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:35:48 +0000
Subject: 110 Site setting for images
Subject: 110 ADDTO Site setting for images
---
.../browser_ui/site_settings/SingleCategorySettings.java | 5 +++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 8 Feb 2023 13:29:03 +0000
Subject: 110 Timezone customization
Subject: 110 ADDTO Timezone customization
---
.../site_settings/SingleCategorySettings.java | 33 +++++++++++--------
@@ -0,0 +1,22 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:05:49 +0000
Subject: 110 ADDTO Viewport Protection flag
---
third_party/blink/renderer/core/css/media_values.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/blink/renderer/core/css/media_values.cc b/third_party/blink/renderer/core/css/media_values.cc
--- a/third_party/blink/renderer/core/css/media_values.cc
+++ b/third_party/blink/renderer/core/css/media_values.cc
@@ -176,7 +176,7 @@ bool MediaValues::CalculateStrictMode(LocalFrame* frame) {
}
float MediaValues::CalculateDevicePixelRatio(LocalFrame* frame) {
- return frame->DevicePixelRatio();
+ return frame->DevicePixelRatio(false);
}
bool MediaValues::CalculateDeviceSupportsHDR(LocalFrame* frame) {
--
2.25.1
@@ -0,0 +1,24 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:29:12 +0000
Subject: Disable BackForwardCache
---
content/public/common/content_features.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -87,8 +87,8 @@ BASE_FEATURE(kBackgroundFetch,
// Enable using the BackForwardCache.
BASE_FEATURE(kBackForwardCache,
- "BackForwardCache",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ "BackForwardCache", // always disabled
+ base::FEATURE_DISABLED_BY_DEFAULT); // in bromite
// Allows pages that created a MediaSession service to stay eligible for the
// back/forward cache.
--
2.25.1
+35
View File
@@ -0,0 +1,35 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:26:17 +0000
Subject: Disable FedCm
---
content/public/common/content_features.cc | 2 +-
.../blink/renderer/platform/runtime_enabled_features.json5 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -379,7 +379,7 @@ BASE_FEATURE(kExtraSafelistedRequestHeadersForOutOfBlinkCors,
// by the flag in RuntimeEnabledFeatures on the blink side. See also
// the use of kSetOnlyIfOverridden in content/child/runtime_features.cc.
// We enable it here by default to support use in origin trials.
-BASE_FEATURE(kFedCm, "FedCm", base::FEATURE_ENABLED_BY_DEFAULT);
+BASE_FEATURE(kFedCm, "FedCm", base::FEATURE_DISABLED_BY_DEFAULT);
// Field trial boolean parameter which indicates whether FedCM auto
// sign-in is enabled.
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -1195,7 +1195,7 @@
{
name: "FedCm",
public: true,
- status: "stable",
+ status: "test",
},
{
// This only exists so we can use RuntimeEnabled in the IDL file
--
2.25.1
-25
View File
@@ -1,25 +0,0 @@
From: Your Name <you@example.com>
Date: Tue, 31 Jan 2023 13:57:29 +0000
Subject: Disable MathMLCore
---
.../blink/renderer/platform/runtime_enabled_features.json5 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -1722,9 +1722,10 @@
},
{
name: "MathMLCore",
- status: "stable",
+ status: "experimental",
depends_on: ["LayoutNG"],
base_feature: "MathMLCore",
+ base_feature_status: "disabled",
},
{
name:"MeasureMemory",
--
2.25.1
@@ -0,0 +1,35 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:23:08 +0000
Subject: Evict the entire FrameTree like desktop
---
components/viz/common/features.cc | 2 +-
content/public/common/content_features.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/viz/common/features.cc b/components/viz/common/features.cc
--- a/components/viz/common/features.cc
+++ b/components/viz/common/features.cc
@@ -234,7 +234,7 @@ BASE_FEATURE(kRendererAllocatesImages,
// This differs from Destkop platforms which evict the entire FrameTree along
// with the topmost viz::Surface. When this feature is enabled, Android will
// begin also evicting the entire FrameTree.
-BASE_FEATURE(kEvictSubtree, "EvictSubtree", base::FEATURE_DISABLED_BY_DEFAULT);
+BASE_FEATURE(kEvictSubtree, "EvictSubtree", base::FEATURE_ENABLED_BY_DEFAULT);
#endif
bool IsOverlayPrioritizationEnabled() {
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -530,7 +530,7 @@ BASE_FEATURE(kInMemoryCodeCache,
// cases, e.g. PDF tiles are ignored. See https://crbug.com/1360351 for details.
BASE_FEATURE(kInnerFrameCompositorSurfaceEviction,
"InnerFrameCompositorSurfaceEviction",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// Kill switch for the GetInstalledRelatedApps API.
BASE_FEATURE(kInstalledApp, "InstalledApp", base::FEATURE_ENABLED_BY_DEFAULT);
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:36:56 +0000
Subject: AImageReader CFI crash mitigations (win fixup)
Subject: WIN ADDTO AImageReader CFI crash mitigations
---
gpu/ipc/service/gpu_init.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Mon, 19 Dec 2022 11:23:10 +0000
Subject: Add AllowUserCertificates flag (win fixup)
Subject: WIN ADDTO Add AllowUserCertificates flag
---
chrome/browser/about_flags.cc | 2 ++
@@ -9,7 +9,7 @@ Subject: Add AllowUserCertificates flag (win fixup)
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
@@ -8514,10 +8514,12 @@ const FeatureEntry kFeatureEntries[] = {
@@ -8510,10 +8510,12 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(features::kWin10TabSearchCaptionButton)},
#endif // BUILDFLAG(IS_WIN)
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 10:59:27 +0000
Subject: Add a proxy configuration page (win fixup)
Subject: WIN ADDTO Add a proxy configuration page
---
chrome/browser/browser_resources.grd | 6 ++----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 09:09:26 +0000
Subject: Add an always-incognito mode (win fixup)
Subject: WIN ADDTO Add an always-incognito mode
---
.../browser/autocomplete/chrome_autocomplete_provider_client.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:30:34 +0000
Subject: Add bookmark import/export actions (win fixup)
Subject: WIN ADDTO Add bookmark import/export actions
---
chrome/browser/about_flags.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 12:00:06 +0000
Subject: Add flag to configure maximum connecti (win fixup)
Subject: WIN ADDTO Add flag to configure maximum connecti
---
chrome/browser/about_flags.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:34:42 +0000
Subject: Add flag to disable IPv6 probes (win fixup)
Subject: WIN ADDTO Add flag to disable IPv6 probes
---
chrome/browser/about_flags.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 12:00:43 +0000
Subject: Add flag to disable external intent re (win fixup)
Subject: WIN ADDTO Add flag to disable external intent re
---
chrome/browser/about_flags.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:52:11 +0000
Subject: Add lifetime options for permissions (win fixup)
Subject: WIN ADDTO Add lifetime options for permissions
---
.../ui/views/permissions/permission_prompt_bubble_view.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 08:12:18 +0000
Subject: Add webGL site setting (win fixup)
Subject: WIN ADDTO Add webGL site setting
---
chrome/app/settings_strings.grdp | 19 ++++++++++++++++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 08:52:11 +0000
Subject: Add webRTC site settings (win fixup)
Subject: WIN ADDTO Add webRTC site settings
---
chrome/app/settings_strings.grdp | 19 ++++++++++++++++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 10:26:13 +0000
Subject: Content settings infrastructure (win fixup)
Subject: WIN ADDTO Content settings infrastructure
---
components/content_settings/core/common/content_settings.cc | 1 +
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 12:02:16 +0000
Subject: Disable requests for single-word Omni (win fixup)
Subject: WIN ADDTO Disable requests for single-word Omni
---
chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 09:52:02 +0000
Subject: Disable safe browsing (win fixup)
Subject: WIN ADDTO Disable safe browsing
---
chrome/browser/BUILD.gn | 16 +-
@@ -1852,7 +1852,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
"//chrome/browser/segmentation_platform:test_utils",
"//chrome/browser/sharing/proto",
"//chrome/browser/ui/color:color_headers",
@@ -5901,9 +5899,6 @@ test("unit_tests") {
@@ -5897,9 +5895,6 @@ test("unit_tests") {
"//chrome/browser/profile_resetter:profile_reset_report_proto",
"//chrome/browser/profiling_host",
"//chrome/browser/push_messaging:budget_proto",
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:53:36 +0000
Subject: Disable various metrics (win fixup)
Subject: WIN ADDTO Disable various metrics
---
chrome/browser/ui/search/ntp_user_data_logger.cc | 4 ----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:58:29 +0000
Subject: Do not build API keys infobar (win fixup)
Subject: WIN ADDTO Do not build API keys infobar
---
chrome/browser/ui/startup/infobar_utils.cc | 3 ---
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:46:45 +0000
Subject: Enable native Android autofill (win fixup)
Subject: WIN ADDTO Enable native Android autofill
---
chrome/browser/extensions/extension_view_host.cc | 3 ++-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 09:19:46 +0000
Subject: Experimental user scripts support (win fixup)
Subject: WIN ADDTO Experimental user scripts support
---
chrome/browser/BUILD.gn | 12 +++++++-----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 10:24:51 +0000
Subject: Eyeo Adblock (win fixup)
Subject: WIN ADDTO Eyeo Adblock
---
.../browser/resources/settings/adblock_page/adblock_page.ts | 2 +-
@@ -22,7 +22,7 @@ diff --git a/chrome/browser/resources/settings/adblock_page/adblock_page.ts b/ch
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -2401,10 +2401,6 @@ if (!is_android) {
@@ -2403,10 +2403,6 @@ if (!is_android) {
"v8/wasm_trap_handler_browsertest.cc",
]
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 14:03:37 +0000
Subject: JIT site settings (win fixup)
Subject: WIN ADDTO JIT site settings
---
chrome/app/settings_strings.grdp | 19 ++++++++++++++++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 11:27:08 +0000
Subject: Logcat crash reports UI (win fixup)
Subject: WIN ADDTO Logcat crash reports UI
---
chrome/browser/ui/webui/crashes_ui.cc | 12 +++++++++++-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:35:41 +0000
Subject: Remove EV certificates (win fixup)
Subject: WIN ADDTO Remove EV certificates
---
net/cert/ev_root_ca_metadata.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:41:35 +0000
Subject: Remove binary blob integrations (win fixup)
Subject: WIN ADDTO Remove binary blob integrations
---
components/gcm_driver/gcm_client_impl.cc | 8 ++++----
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:50:53 +0000
Subject: Remove signin and sync integrations (win fixup)
Subject: WIN ADDTO Remove signin and sync integrations
---
chrome/browser/BUILD.gn | 8 -
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 12:01:37 +0000
Subject: Restore Search Ready Omnibox flag (win fixup)
Subject: WIN ADDTO Restore Search Ready Omnibox flag
---
chrome/browser/about_flags.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:59:30 +0000
Subject: Revert flags: remove num-raster-thre (win fixup)
Subject: WIN ADDTO Revert flags: remove num-raster-thre
---
chrome/browser/about_flags.cc | 2 ++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 12:49:31 +0000
Subject: Revert the removal to block autoplay (win fixup)
Subject: WIN ADDTO Revert the removal to block autoplay
---
chrome/app/settings_strings.grdp | 19 ++++++++++++++++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 16:03:16 +0000
Subject: Timezone customization (win fixup)
Subject: WIN ADDTO Timezone customization
---
chrome/app/settings_strings.grdp | 19 ++++++++++++++++
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 11:31:11 +0000
Subject: openH264: enable ARM/ARM64 optimizati (win fixup)
Subject: WIN ADDTO openH264: enable ARM/ARM64 optimizati
---
.../blink/renderer/modules/mediarecorder/h264_encoder.cc | 6 +++---
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 12 Oct 2022 10:04:39 +0000
Subject: ungoogled-chr: Disable profile avatar (win fixup)
Subject: WIN ADDTO ungoogled-chr: Disable profile avatar
---
chrome/browser/profiles/profile_attributes_storage.cc | 2 +-
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 10:27:15 +0000
Subject: ungoogled-chromium: no special hosts/d (win fixup)
Subject: WIN ADDTO ungoogled-chromium: no special hosts/d
---
components/domain_reliability/BUILD.gn | 47 ++++++++++++++----------
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Thu, 13 Oct 2022 10:34:52 +0000
Subject: Fix windows build
Subject: WIN Fix windows build
---
.../browser_process_platform_part_win.cc | 3 ++
@@ -0,0 +1,33 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:32:30 +0000
Subject: WIN enable file system access blocklist
---
content/browser/file_system_access/features.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/browser/file_system_access/features.cc b/content/browser/file_system_access/features.cc
--- a/content/browser/file_system_access/features.cc
+++ b/content/browser/file_system_access/features.cc
@@ -14,7 +14,7 @@ namespace content::features {
// some applications.
BASE_FEATURE(kFileSystemAccessDragAndDropCheckBlocklist,
"FileSystemAccessDragAndDropCheckBlocklist",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// TODO(crbug.com/1381621): Remove this flag eventually.
// When enabled, move() will result in a promise rejection when the specified
@@ -43,8 +43,8 @@ BASE_FEATURE(kFileSystemAccessRemoveEntryExclusiveLock,
// When enabled, a user gesture is required to rename a file if the site does
// not have write access to the parent. See http://b/254157070 for more context.
BASE_FEATURE(kFileSystemAccessRenameWithoutParentAccessRequiresUserActivation,
- "FileSystemAccessRenameWithoutParentAccessRequiresUserActivation",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ "FileSystemAccessRenameWithoutParentAccessRequiresUserActivation", // enabled by default
+ base::FEATURE_ENABLED_BY_DEFAULT); // in bromite
// TODO(crbug.com/1247850): Remove this flag eventually.
// When enabled, move operations within the same file system that do not change
--
2.25.1
@@ -0,0 +1,21 @@
From: Your Name <you@example.com>
Date: Tue, 14 Feb 2023 16:41:42 +0000
Subject: WIP disable visited pseudo class
---
components/visitedlink/common/visitedlink_common.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/visitedlink/common/visitedlink_common.cc b/components/visitedlink/common/visitedlink_common.cc
--- a/components/visitedlink/common/visitedlink_common.cc
+++ b/components/visitedlink/common/visitedlink_common.cc
@@ -43,6 +43,7 @@ bool VisitedLinkCommon::IsVisited(const GURL& url) const {
}
bool VisitedLinkCommon::IsVisited(Fingerprint fingerprint) const {
+ if ((true)) return false;
// Go through the table until we find the item or an empty spot (meaning it
// wasn't found). This loop will terminate as long as the table isn't full,
// which should be enforced by AddFingerprint.
--
2.25.1
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Tue, 22 Nov 2022 16:49:58 +0000
Subject: wip add browser policy
Subject: Add browser policy
---
.../privacy_preferences_manager_impl.cc | 5 +
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 28 Dec 2022 15:46:59 +0000
Subject: win disable annotate downloads
Subject: WIN disable annotate downloads
---
components/download/internal/common/download_file_impl.cc | 4 ++--
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 28 Dec 2022 15:47:58 +0000
Subject: win enable HighEfficiencyMode by default
Subject: WIN enable HighEfficiencyMode by default
---
components/performance_manager/features.cc | 2 +-
+2 -2
View File
@@ -1,6 +1,6 @@
From: Your Name <you@example.com>
Date: Wed, 28 Dec 2022 15:46:38 +0000
Subject: win enable pdf plugin
Subject: WIN enable pdf plugin
---
third_party/blink/renderer/core/frame/local_frame.cc | 2 ++
@@ -9,7 +9,7 @@ Subject: win enable pdf plugin
diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/blink/renderer/core/frame/local_frame.cc
--- a/third_party/blink/renderer/core/frame/local_frame.cc
+++ b/third_party/blink/renderer/core/frame/local_frame.cc
@@ -1945,7 +1945,9 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
@@ -1937,7 +1937,9 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
}
PluginData* LocalFrame::GetPluginData() const {