From 3021d3b69293c56419228a116c6f66aa264bda82 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Fri, 11 Aug 2023 02:33:59 -0500 Subject: [PATCH] M115 stage 3 --- infra/PATCHES.md | 10 +- other/AVX2/v8/BUILD.gn | 4 +- other/CrOS/v8/BUILD.gn | 4 +- other/SSE3/v8/BUILD.gn | 4 +- src/chrome/browser/ui/ui_features.cc | 16 +- src/chrome/common/chrome_paths_mac.mm | 21 ++- src/components/autofill_payments_strings.grdp | 47 ++++- src/components/autofill_strings.grdp | 3 - .../components_chromium_strings.grd | 6 +- src/components/error_page_strings.grdp | 18 +- src/components/page_info_strings.grdp | 16 +- .../security_interstitials_strings.grdp | 3 + src/third_party/blink/common/features.cc | 176 ++++++++++++++---- .../platform/runtime_enabled_features.json5 | 1 + src/ui/chromeos/ui_chromeos_strings.grd | 3 + src/v8/BUILD.gn | 4 +- trunk.sh | 2 +- 17 files changed, 251 insertions(+), 87 deletions(-) diff --git a/infra/PATCHES.md b/infra/PATCHES.md index f3bc0811..3b0bd660 100644 --- a/infra/PATCHES.md +++ b/infra/PATCHES.md @@ -175,11 +175,17 @@ Enable double click to close tab flag - https://github.com/bigfoxtail/brave-core - Found by @gz83, modified by me. Enable close confirmation patch - https://github.com/ungoogled-software/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch - - Modfiied by me. + - Modfied by me. CFI Ignores Patch - https://github.com/RobRich999/Chromium_Clang/blob/150e755bdb3f2c389ab3d485f38d62a36414e73a/Linux/linux64-avx.patch#L386 - Made by RobRich999 - + +Warn instead of Error on V8 PGO Profile Mismatch Patch - https://github.com/RobRich999/Chromium_Clang/blob/main/V8/v8.patch + - Made by RobRich999 + +Enable Middle Click Autoscroll on ALL Platforms - https://github.com/Alex313031/thorium/issues/199 + - Made by me. + Patches to enable truly Portable usage > Disable Encryption and Machine ID - https://github.com/ungoogled-software/ungoogled-chromium-windows/blob/master/patches/ungoogled-chromium/windows/windows-disable-encryption.patch - https://github.com/ungoogled-software/ungoogled-chromium-windows/blob/master/patches/ungoogled-chromium/windows/windows-disable-machine-id.patch diff --git a/other/AVX2/v8/BUILD.gn b/other/AVX2/v8/BUILD.gn index 1b0659bc..92ddfc2a 100644 --- a/other/AVX2/v8/BUILD.gn +++ b/other/AVX2/v8/BUILD.gn @@ -2282,7 +2282,9 @@ template("run_mksnapshot") { # Replace this with --warn-about-builtin-profile-data to see the full # list of builtins with incompatible profiles. - "--abort-on-bad-builtin-profile-data", + # TODO(crbug.com/v8/13647): Do not fail for invalid profiles + # "--abort-on-bad-builtin-profile-data", + "--warn-about-builtin-profile-data", ] } diff --git a/other/CrOS/v8/BUILD.gn b/other/CrOS/v8/BUILD.gn index a3cd0cbb..6fc4bc94 100644 --- a/other/CrOS/v8/BUILD.gn +++ b/other/CrOS/v8/BUILD.gn @@ -2282,7 +2282,9 @@ template("run_mksnapshot") { # Replace this with --warn-about-builtin-profile-data to see the full # list of builtins with incompatible profiles. - "--abort-on-bad-builtin-profile-data", + # TODO(crbug.com/v8/13647): Do not fail for invalid profiles + # "--abort-on-bad-builtin-profile-data", + "--warn-about-builtin-profile-data", ] } diff --git a/other/SSE3/v8/BUILD.gn b/other/SSE3/v8/BUILD.gn index 46d5ba6f..ed7a0e9a 100644 --- a/other/SSE3/v8/BUILD.gn +++ b/other/SSE3/v8/BUILD.gn @@ -2282,7 +2282,9 @@ template("run_mksnapshot") { # Replace this with --warn-about-builtin-profile-data to see the full # list of builtins with incompatible profiles. - "--abort-on-bad-builtin-profile-data", + # TODO(crbug.com/v8/13647): Do not fail for invalid profiles + # "--abort-on-bad-builtin-profile-data", + "--warn-about-builtin-profile-data", ] } diff --git a/src/chrome/browser/ui/ui_features.cc b/src/chrome/browser/ui/ui_features.cc index e04f9639..90711a23 100644 --- a/src/chrome/browser/ui/ui_features.cc +++ b/src/chrome/browser/ui/ui_features.cc @@ -13,9 +13,10 @@ namespace features { // Enables the tab dragging fallback when full window dragging is not supported // by the platform (e.g. Wayland). See https://crbug.com/896640 +// TODO: Alex313031 bug fix BASE_FEATURE(kAllowWindowDragUsingSystemDragDrop, "AllowWindowDragUsingSystemDragDrop", - base::FEATURE_ENABLED_BY_DEFAULT); + base::FEATURE_DISABLED_BY_DEFAULT); #if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) BASE_FEATURE(kDesktopPWAsAppHomePage, @@ -52,9 +53,10 @@ BASE_FEATURE(kAccessCodeCastUI, // Enables displaying the submenu to open a link with a different profile if // there is at least one other active profile. +// TODO: Alex313031 bug fix BASE_FEATURE(kDisplayOpenLinkAsProfile, "DisplayOpenLinkAsProfile", - base::FEATURE_ENABLED_BY_DEFAULT); + base::FEATURE_DISABLED_BY_DEFAULT); // Enables showing the EV certificate details in the Page Info bubble. BASE_FEATURE(kEvDetailsInPageInfo, @@ -197,21 +199,13 @@ BASE_FEATURE(kTabGroupsCollapseFreezing, "TabGroupsCollapseFreezing", base::FEATURE_ENABLED_BY_DEFAULT); -// Directly controls the "new" badge (as opposed to old "master switch"; see -// https://crbug.com/1169907 for master switch deprecation and -// https://crbug.com/968587 for the feature itself) -// https://crbug.com/1173792 -BASE_FEATURE(kTabGroupsNewBadgePromo, - "TabGroupsNewBadgePromo", - base::FEATURE_ENABLED_BY_DEFAULT); - // Enables users to explicitly save and recall tab groups. // https://crbug.com/1223929 BASE_FEATURE(kTabGroupsSave, "TabGroupsSave", base::FEATURE_ENABLED_BY_DEFAULT); -// Enables users to explicitly save and recall tab groups. +// Enables users to explicitly save and recall tab groups with sync. // https://crbug.com/1223929 BASE_FEATURE(kTabGroupsSaveSyncIntegration, "TabGroupsSaveSyncIntegration", diff --git a/src/chrome/common/chrome_paths_mac.mm b/src/chrome/common/chrome_paths_mac.mm index d35b7305..d473539d 100644 --- a/src/chrome/common/chrome_paths_mac.mm +++ b/src/chrome/common/chrome_paths_mac.mm @@ -19,11 +19,14 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths_internal.h" +#if !defined(__has_feature) || !__has_feature(objc_arc) +#error "This file requires ARC support." +#endif + namespace { -// Return a retained (NOT autoreleased) NSBundle* as the internal -// implementation of chrome::OuterAppBundle(), which should be the only -// caller. +// Return an NSBundle* as the internal implementation of +// chrome::OuterAppBundle(), which should be the only caller. NSBundle* OuterAppBundleInternal() { @autoreleasepool { if (!base::mac::AmIBundled()) { @@ -33,7 +36,7 @@ NSBundle* OuterAppBundleInternal() { if (!base::mac::IsBackgroundOnlyProcess()) { // Shortcut: in the browser process, just return the main app bundle. - return [[NSBundle mainBundle] retain]; + return NSBundle.mainBundle; } // From C.app/Contents/Frameworks/C.framework/Versions/1.2.3.4, go up five @@ -43,13 +46,13 @@ NSBundle* OuterAppBundleInternal() { framework_path.DirName().DirName().DirName().DirName().DirName(); NSString* outer_app_dir_ns = base::SysUTF8ToNSString(outer_app_dir.value()); - return [[NSBundle bundleWithPath:outer_app_dir_ns] retain]; + return [NSBundle bundleWithPath:outer_app_dir_ns]; } } char* ProductDirNameForBundle(NSBundle* chrome_bundle) { @autoreleasepool { - const char* product_dir_name = NULL; + const char* product_dir_name = nullptr; NSString* product_dir_name_ns = [chrome_bundle objectForInfoDictionaryKey:@"CrProductDirName"]; @@ -81,7 +84,7 @@ std::string ProductDirName() { // in the main app's bundle because it will be set differently on the canary // channel, and the autoupdate system dictates that there can be no // differences between channels within the versioned directory. This would - // normally use base::mac::FrameworkBundle(), but that references the + // normally use base::apple::FrameworkBundle(), but that references the // framework bundle within the versioned directory. Ordinarily, the profile // should not be accessed from non-browser processes, but those processes do // attempt to get the profile directory, so direct them to look in the outer @@ -209,14 +212,12 @@ bool GetGlobalApplicationSupportDirectory(base::FilePath* result) { } NSBundle* OuterAppBundle() { - // Cache this. Foundation leaks it anyway, and this should be the only call - // to OuterAppBundleInternal(). static NSBundle* bundle = OuterAppBundleInternal(); return bundle; } bool ProcessNeedsProfileDir(const std::string& process_type) { - // For now we have no reason to forbid this on other MacOS as we don't + // For now we have no reason to forbid this on other macOS as we don't // have the roaming profile troubles there. return true; } diff --git a/src/components/autofill_payments_strings.grdp b/src/components/autofill_payments_strings.grdp index a8fc00a7..a7220995 100644 --- a/src/components/autofill_payments_strings.grdp +++ b/src/components/autofill_payments_strings.grdp @@ -463,7 +463,7 @@ - Thorium is trying to verify it's you so it can fill in your payment info. + Google Thorium is trying to verify it's you so it can fill in your payment info. @@ -567,6 +567,32 @@ Manage payment methods + + + No Thanks + + + Yes + + + Always verify? + + + For added security on shared devices, turn on verification every time you pay using autofill. + + + Enable mandatory re-authentication + + + You're all set + + + Thorium will now verify it's you before filling in payment methods. You can update this at any time in $1settings. + + + settings + + @@ -635,7 +661,7 @@ Yes - Make it more secure with a virtual card? + Make it more secure with a virtual card next time? A virtual card hides your actual card to help protect you from potential fraud. $1Learn about virtual cards @@ -860,12 +886,19 @@ - - - Verify it’s you when filling in payment methods + + Always verify when using autofill - - If turned off, you may still be asked to sometimes verify it’s you for security purposes + + When turned off, you may be asked occasionally to verify for security purposes + + + Payment verification settings saved + + + Settings + + diff --git a/src/components/autofill_strings.grdp b/src/components/autofill_strings.grdp index ca407ad4..a0b6f345 100644 --- a/src/components/autofill_strings.grdp +++ b/src/components/autofill_strings.grdp @@ -25,9 +25,6 @@ This form is not secure. Autofill has been turned off. - - To use cards from your Google Account, sign in to Thorium - Remove form suggestion from Thorium? diff --git a/src/components/components_chromium_strings.grd b/src/components/components_chromium_strings.grd index 6d1324c5..832252bc 100644 --- a/src/components/components_chromium_strings.grd +++ b/src/components/components_chromium_strings.grd @@ -282,12 +282,12 @@ - Thorium is made possible by the <a target="_blank" href="$1">Chromium</a> open source project and other <a target="_blank" href="$2">open source software</a>. + Thorium is made possible by the <a target="_blank" href="$1">Thorium</a> open source project and other <a target="_blank" href="$2">open source software</a>. - - Thorium is made possible by the <a target="_blank" href="$1">Chromium</a> open source project. + + Thorium is made possible by the <a target="_blank" href="$1">Thorium</a> open source project. diff --git a/src/components/error_page_strings.grdp b/src/components/error_page_strings.grdp index 46111e21..48273761 100644 --- a/src/components/error_page_strings.grdp +++ b/src/components/error_page_strings.grdp @@ -55,7 +55,7 @@ Check any cables and reboot any routers, modems, or other network - devices you may be using. Also check that any proxy server currently in use is reachable and configured correctly. + devices you may be using. @@ -122,9 +122,15 @@ No internet - + You're offline + + This application is missing or damaged + + + The development server for this application cannot be reached + This site can’t be loaded from the cache @@ -261,7 +267,7 @@ This page has been blocked by an extension - The person who set up this computer has chosen to block this site. + Your organization doesn’t allow you to view this site @@ -375,7 +381,7 @@ - Tap the Dino to play + Tap the dino to play Dino game. A pixelated dinosaur dodges cacti and pterodactyls as it runs across a desolate landscape. When you hear an audio cue, tap to jump over obstacles. @@ -383,7 +389,7 @@ - Press Space or the Up Arrow to Play + Press space to play Dino game. A pixelated dinosaur dodges cacti and pterodactyls as it runs across a desolate landscape. When you hear an audio cue, press space to jump over obstacles. @@ -405,6 +411,6 @@ Jump! - Start slower? + Start slower diff --git a/src/components/page_info_strings.grdp b/src/components/page_info_strings.grdp index fe5b998f..29d62281 100644 --- a/src/components/page_info_strings.grdp +++ b/src/components/page_info_strings.grdp @@ -337,11 +337,8 @@ Allowed - - Allowed until you close this tab - - - Allowed until you close tabs for this site + + Only this time Not allowed @@ -369,6 +366,10 @@ Select permission for $1Location + + For $1example.com + + @@ -428,6 +429,9 @@ Can ask to discover nearby Bluetooth devices + + Can ask to access cookies + @@ -657,7 +661,7 @@ Go to permission settings - Remember this setting + Allow on every visit {NUM_PERMISSIONS, plural, =1 {Reset permission} other {Reset permissions}} diff --git a/src/components/security_interstitials_strings.grdp b/src/components/security_interstitials_strings.grdp index ab85e6e4..91779b03 100644 --- a/src/components/security_interstitials_strings.grdp +++ b/src/components/security_interstitials_strings.grdp @@ -537,6 +537,9 @@ You are seeing this warning because this site does not support HTTPS and you are under Google's Advanced Protection Program. <a href="#" id="learn-more-link">Learn more</a> + + You usually connect to this site securely, but Thorium couldn't use a secure connection this time. An attacker might be trying to eavesdrop or modify your network connection. <a href="#" id="learn-more-link">Learn more</a> + Go back diff --git a/src/third_party/blink/common/features.cc b/src/third_party/blink/common/features.cc index f52c7223..2b98ef80 100644 --- a/src/third_party/blink/common/features.cc +++ b/src/third_party/blink/common/features.cc @@ -289,25 +289,11 @@ constexpr base::FeatureParam kPrivateAggregationApiEnabledInFledge{ &kPrivateAggregationApi, "enabled_in_fledge", /*default_value=*/true}; -// Selectively allows the FLEDGE-specific extensions to be disabled. +// Selectively allows the Protected Audience-specific extensions to be disabled. constexpr base::FeatureParam kPrivateAggregationApiFledgeExtensionsEnabled{&kPrivateAggregationApi, "fledge_extensions_enabled", - /*default_value=*/false}; - -// Maximum budget allowed to be claimed per-origin per-day per-API. See -// `content::PrivateAggregationBudgeter` for more detail. -constexpr base::FeatureParam kPrivateAggregationApiMaxBudgetPerScope{ - &kPrivateAggregationApi, "max_budget_per_scope", /*default_value=*/65536}; - -// Has the same effect as enabling -// kPrivateAggregationApiFledgeExtensionsEnabled. This is intended as a -// convenience for local testing only. -// TODO(alexmt): Remove when kPrivateAggregationApiFledgeExtensionsEnabled is -// enabled by default. -BASE_FEATURE(kPrivateAggregationApiFledgeExtensionsLocalTestingOverride, - "PrivateAggregationApiFledgeExtensionsLocalTestingOverride", - base::FEATURE_DISABLED_BY_DEFAULT); + /*default_value=*/true}; // Enable the shared storage API. Note that enabling this feature does not // automatically expose this API to the web, it only allows the element to be @@ -352,7 +338,7 @@ const base::FeatureParam BASE_FEATURE(kSharedStorageSelectURLLimit, "SharedStorageSelectURLLimit", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); const base::FeatureParam kSharedStorageSelectURLBitBudgetPerPageLoad = { &kSharedStorageSelectURLLimit, "SharedStorageSelectURLBitBudgetPerPageLoad", 12}; @@ -361,10 +347,6 @@ const base::FeatureParam &kSharedStorageSelectURLLimit, "SharedStorageSelectURLBitBudgetPerOriginPerPageLoad", 6}; -BASE_FEATURE(kPrerender2SequentialPrerendering, - "Prerender2SequentialPrerendering", - base::FEATURE_ENABLED_BY_DEFAULT); - BASE_FEATURE(kPrerender2MainFrameNavigation, "Prerender2MainFrameNavigation", base::FEATURE_ENABLED_BY_DEFAULT); @@ -646,6 +628,81 @@ const base::FeatureParam ForceDarkImageClassifier::kUseBlinkSettings, &forcedark_image_classifier_policy_options}; +// Enable service worker warming-up feature. (https://crbug.com/1431792) +BASE_FEATURE(kSpeculativeServiceWorkerWarmUp, + "SpeculativeServiceWorkerWarmUp", + base::FEATURE_DISABLED_BY_DEFAULT); + +// If true, do not actually warm-up service workers. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpDryRun{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_dry_run", false}; + +// kSpeculativeServiceWorkerWarmUp observes anchor events such as visibility, +// pointerover, and pointerdown. These events could be triggered very often. To +// reduce the frequency of processing, kSpeculativeServiceWorkerWarmUp uses a +// timer to batch URL candidates together for this amount of duration. +const base::FeatureParam + kSpeculativeServiceWorkerWarmUpBatchTimer{&kSpeculativeServiceWorkerWarmUp, + "sw_warm_up_batch_timer", + base::Milliseconds(100)}; + +// kSpeculativeServiceWorkerWarmUp warms up service workers up to this max +// count. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpMaxCount{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_max_count", 10}; + +// kSpeculativeServiceWorkerWarmUp remembers recent warm-up requests to prevent +// excessive duplicate warm-up. The following cache size is the cache size for +// duplicated request checks. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpRequestCacheSize{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_request_cache_size", 1000}; + +// kSpeculativeServiceWorkerWarmUp enqueues navigation candidate URLs. This is +// the queue length of the candidate URLs. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpRequestQueueLength{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_request_queue_length", 1000}; + +// kSpeculativeServiceWorkerWarmUp accept requests of navigation candidate URLs. +// This is the request count limit per document. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpRequestLimit{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_request_limit", 1000}; + +// Duration to keep worker warmed-up. +const base::FeatureParam + kSpeculativeServiceWorkerWarmUpDuration{&kSpeculativeServiceWorkerWarmUp, + "sw_warm_up_duration", + base::Minutes(10)}; +// Duration to re-warmup service worker. This duration must be shorter than +// sw_warm_up_duration. +const base::FeatureParam + kSpeculativeServiceWorkerWarmUpReWarmUpThreshold{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_re_warm_up_threshold", + base::Minutes(7)}; + +// Enable IntersectionObserver to detect anchor's visibility. +const base::FeatureParam + kSpeculativeServiceWorkerWarmUpIntersectionObserver{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_intersection_observer", + true}; + +// Duration from previous IntersectionObserver event to the next event. +const base::FeatureParam + kSpeculativeServiceWorkerWarmUpIntersectionObserverDelay{ + &kSpeculativeServiceWorkerWarmUp, + "sw_warm_up_intersection_observer_delay", 100}; + +// Warms up service workers when the anchor becomes visible. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpOnVisible{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_on_visible", true}; + +// Warms up service workers when a pointerover event is triggered on an anchor. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpOnPointerover{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_on_pointerover", true}; + +// Warms up service workers when a pointerdown event is triggered on an anchor. +const base::FeatureParam kSpeculativeServiceWorkerWarmUpOnPointerdown{ + &kSpeculativeServiceWorkerWarmUp, "sw_warm_up_on_pointerdown", true}; + // Instructs WebRTC to honor the Min/Max Video Encode Accelerator dimensions. BASE_FEATURE(kWebRtcUseMinMaxVEADimensions, "WebRtcUseMinMaxVEADimensions", @@ -744,6 +801,13 @@ BASE_FEATURE(kCanvasFreeMemoryWhenHidden, "CanvasFreeMemoryWhenHidden", base::FEATURE_ENABLED_BY_DEFAULT); +// Whether to use 'TexImage2D' instead of 'TexStorage2DEXT' when creating a +// staging texture for |DrawingBuffer|. This is a killswitch; remove when +// launched. +BASE_FEATURE(kUseImageInsteadOfStorageForStagingBuffer, + "UseImageInsteadOfStorageForStagingBuffer", + base::FEATURE_ENABLED_BY_DEFAULT); + // When enabled, add a new option, {imageOrientation: 'none'}, to // createImageBitmap, which ignores the image orientation metadata of the source // and renders the image as encoded. @@ -768,7 +832,7 @@ BASE_FEATURE(kProduceCompileHints, const base::FeatureParam kProduceCompileHintsOnIdleDelayParam{ &kProduceCompileHints, "delay-in-ms", 10000}; const base::FeatureParam kProduceCompileHintsNoiseLevel{ - &kProduceCompileHints, "noise probability", 0.9}; + &kProduceCompileHints, "noise probability", 0.5}; // Enables the JPEG XL Image File Format (JXL). BASE_FEATURE(kJXL, "JXL", base::FEATURE_ENABLED_BY_DEFAULT); @@ -816,10 +880,6 @@ BASE_FEATURE(kResamplingInputEvents, "ResamplingInputEvents", base::FEATURE_DISABLED_BY_DEFAULT); -BASE_FEATURE(kInputTargetClientHighPriority, - "InputTargetClientHighPriority", - base::FEATURE_ENABLED_BY_DEFAULT); - BASE_FEATURE(kResamplingScrollEvents, "ResamplingScrollEvents", base::FEATURE_ENABLED_BY_DEFAULT); @@ -943,6 +1003,12 @@ BASE_FEATURE(kWebAppBorderless, "WebAppBorderless", base::FEATURE_DISABLED_BY_DEFAULT); +// Allows web apps to customize their tab strip. See explainer for more detail: +// https://github.com/WICG/manifest-incubations/blob/gh-pages/tabbed-mode-explainer.md +BASE_FEATURE(kDesktopPWAsTabStripCustomizations, + "DesktopPWAsTabStripCustomizations", + base::FEATURE_DISABLED_BY_DEFAULT); + // Makes network loading tasks unfreezable so that they can be processed while // the page is frozen. BASE_FEATURE(kLoadingTasksUnfreezable, @@ -991,6 +1057,12 @@ const base::FeatureParam kInterestGroupStorageMaxOpsBeforeMaintenance{ // Enables FLEDGE implementation. See https://crbug.com/1186444. BASE_FEATURE(kFledge, "Fledge", base::FEATURE_DISABLED_BY_DEFAULT); +// See +// https://github.com/WICG/turtledove/blob/main/FLEDGE_browser_bidding_and_auction_API.md +BASE_FEATURE(kFledgeBiddingAndAuctionServer, + "FledgeBiddingAndAuctionServer", + base::FEATURE_DISABLED_BY_DEFAULT); + // See in the header. BASE_FEATURE(kFledgeConsiderKAnonymity, "FledgeConsiderKAnonymity", @@ -1085,12 +1157,13 @@ const base::FeatureParam // multiple configurations as long as they are compatible (from both Chrome's // and users/websites' perspective). For a configuration that's incompatible // with previous ones, a new dedicated version number should be used. -const base::FeatureParam kBrowsingTopicsConfigVersion{&kBrowsingTopics, - "config_version", 1}; +const base::FeatureParam kBrowsingTopicsConfigVersion{ + &kBrowsingTopics, "config_version", kBrowsingTopicsConfigVersionDefault}; // The taxonomy version. This only affects the topics classification that occurs // during this browser session, and doesn't affect the pre-existing epochs. const base::FeatureParam kBrowsingTopicsTaxonomyVersion{ - &kBrowsingTopics, "taxonomy_version", 1}; + &kBrowsingTopics, "taxonomy_version", + kBrowsingTopicsTaxonomyVersionDefault}; const base::FeatureParam kBrowsingTopicsDisabledTopicsList{ &kBrowsingTopics, "browsing_topics_disabled_topics_list", ""}; @@ -1505,7 +1578,7 @@ BASE_FEATURE(kFileSystemUrlNavigation, BASE_FEATURE(kFileSystemUrlNavigationForChromeAppsOnly, "FileSystemUrlNavigationForChromeAppsOnly", - base::FEATURE_ENABLED_BY_DEFAULT); + base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kEarlyExitOnNoopClassOrStyleChange, "EarlyExitOnNoopClassOrStyleChange", @@ -1546,6 +1619,10 @@ BASE_FEATURE(kClipboardUnsanitizedContent, BASE_FEATURE(kWebRtcEncoderAsyncEncode, "WebRtcEncoderAsyncEncode", + base::FEATURE_ENABLED_BY_DEFAULT); + +BASE_FEATURE(kWebRtcInitializeEncoderOnFirstFrame, + "WebRtcInitializeEncoderOnFirstFrame", base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kWebRtcThreadsUseResourceEfficientType, @@ -1582,7 +1659,7 @@ BASE_FEATURE(kFastPathPaintPropertyUpdates, BASE_FEATURE(kThrottleOffscreenAnimatingSvgImages, "ThrottleOffscreenAnimatingSvgImages", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); BASE_FEATURE(kThreadedBodyLoader, "ThreadedBodyLoader", @@ -1639,6 +1716,17 @@ BASE_FEATURE(kWebRtcCombinedNetworkAndWorkerThread, "WebRtcCombinedNetworkAndWorkerThread", base::FEATURE_DISABLED_BY_DEFAULT); +BASE_FEATURE(kVSyncDecoding, + "VSyncDecoding", + base::FEATURE_DISABLED_BY_DEFAULT); +const base::FeatureParam + kVSyncDecodingHiddenOccludedTickDuration{ + &kVSyncDecoding, "occluded_tick_duration", base::Hertz(10)}; + +BASE_FEATURE(kWebRtcSendPacketBatch, + "WebRtcSendPacketBatch", + base::FEATURE_DISABLED_BY_DEFAULT); + // Allow process isolation of iframes with the 'sandbox' attribute set. Whether // or not such an iframe will be isolated may depend on options specified with // the attribute. Note: At present, only iframes with origin-restricted @@ -1712,14 +1800,17 @@ BASE_FEATURE(kSpeculationRulesPrefetchFuture, "SpeculationRulesPrefetchFuture", base::FEATURE_ENABLED_BY_DEFAULT); +// TODO(https://crbug.com/1331187): Delete the flag. BASE_FEATURE(kAllowPageWithIDBConnectionInBFCache, "AllowPageWithIDBConnectionInBFCache", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); +// TODO(https://crbug.com/1331187): Delete the flag. BASE_FEATURE(kAllowPageWithIDBTransactionInBFCache, "AllowPageWithIDBTransactionInBFCache", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); +// TODO(https://crbug.com/1331187): Delete the function. bool IsAllowPageWithIDBConnectionAndTransactionInBFCacheEnabled() { return base::FeatureList::IsEnabled(kAllowPageWithIDBConnectionInBFCache) && base::FeatureList::IsEnabled(kAllowPageWithIDBTransactionInBFCache); @@ -1749,7 +1840,7 @@ const base::FeatureParam kMaxFCPDelayMsForRenderBlockingFonts( BASE_FEATURE(kWebRtcStatsReportIdl, "WebRtcStatsReportIdl", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); BASE_FEATURE(kQuoteEmptySecChUaStringHeadersConsistently, "QuoteEmptySecChUaStringHeadersConsistently", @@ -1769,6 +1860,11 @@ BASE_FEATURE(kDisableThirdPartyStoragePartitioningDeprecationTrial, BASE_FEATURE(kRuntimeFeatureStateControllerApplyFeatureDiff, "RuntimeFeatureStateControllerApplyFeatureDiff", base::FEATURE_ENABLED_BY_DEFAULT); + +BASE_FEATURE(kGb18030_2022Enabled, + "Gb18030_2022Enabled", + base::FEATURE_ENABLED_BY_DEFAULT); + BASE_FEATURE(kURLSetPortCheckOverflow, "URLSetPortCheckOverflow", base::FEATURE_DISABLED_BY_DEFAULT); @@ -1801,5 +1897,17 @@ BASE_FEATURE(kGainmapHdrImages, "GainmapHdrImages", base::FEATURE_DISABLED_BY_DEFAULT); +BASE_FEATURE(kMainThreadHighPriorityImageLoading, + "MainThreadHighPriorityImageLoading", + base::FEATURE_DISABLED_BY_DEFAULT); + +BASE_FEATURE(kDirectCompositorThreadIpc, + "DirectCompositorThreadIpc", + base::FEATURE_DISABLED_BY_DEFAULT); + +BASE_FEATURE(kAllowDevToolsMainThreadDebuggerForMultipleMainFrames, + "AllowDevToolsMainThreadDebuggerForMultipleMainFrames", + base::FEATURE_ENABLED_BY_DEFAULT); + } // namespace features } // namespace blink diff --git a/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 index 203dd8ae..08a2f10f 100644 --- a/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 @@ -2281,6 +2281,7 @@ name: "MiddleClickAutoscroll", status: "test", base_feature: "none", + base_feature_status: "enabled", }, { diff --git a/src/ui/chromeos/ui_chromeos_strings.grd b/src/ui/chromeos/ui_chromeos_strings.grd index f747c1f7..1331a24e 100644 --- a/src/ui/chromeos/ui_chromeos_strings.grd +++ b/src/ui/chromeos/ui_chromeos_strings.grd @@ -636,6 +636,9 @@ Information + + Want keys to repeat? Turn off accent marks in Keyboard Settings + Input language is Chinese diff --git a/src/v8/BUILD.gn b/src/v8/BUILD.gn index 5e5833ac..3b0d0e4f 100644 --- a/src/v8/BUILD.gn +++ b/src/v8/BUILD.gn @@ -2282,7 +2282,9 @@ template("run_mksnapshot") { # Replace this with --warn-about-builtin-profile-data to see the full # list of builtins with incompatible profiles. - "--abort-on-bad-builtin-profile-data", + # TODO(crbug.com/v8/13647): Do not fail for invalid profiles + # "--abort-on-bad-builtin-profile-data", + "--warn-about-builtin-profile-data", ] } diff --git a/trunk.sh b/trunk.sh index 3ad2683d..31e86a94 100755 --- a/trunk.sh +++ b/trunk.sh @@ -77,7 +77,7 @@ cd ${CR_SRC_DIR} && gclient sync --with_branch_heads --with_tags -f -R -D && printf "\n" && -printf "${GRE}Done! ${YEL}You can now run \'./VERSION.sh\'\n" && +printf "${GRE}Done! ${YEL}You can now run \'./version.sh\'\n" && tput sgr0 && c0='\033[0m' # Reset Text