From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- toolkit/components/nimbus/FeatureManifest.yaml | 321 +++++++++++++++++++++---- 1 file changed, 278 insertions(+), 43 deletions(-) (limited to 'toolkit/components/nimbus/FeatureManifest.yaml') diff --git a/toolkit/components/nimbus/FeatureManifest.yaml b/toolkit/components/nimbus/FeatureManifest.yaml index 746ac4738d..190e29d6db 100644 --- a/toolkit/components/nimbus/FeatureManifest.yaml +++ b/toolkit/components/nimbus/FeatureManifest.yaml @@ -2,6 +2,8 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +# yaml-language-server: $schema=schemas/ExperimentFeatureManifest.schema.json + # Features must be added here to be accessible through the NimbusFeature API. "no-feature-firefox-desktop": @@ -51,7 +53,6 @@ nimbus-qa-1: nimbus-qa-2: description: A feature for testing pref-setting on the user branch. owner: barret@mozilla.com - isEarlyStartup: true hasExposure: false variables: value: @@ -315,7 +316,7 @@ urlbar: Whether Firefox Suggest will use the new Rust backend instead of the original JS backend. quickSuggestScenario: - # IMPORTANT: This should not have a fallbackPref. See UrlbarPrefs.jsm. + # IMPORTANT: This should not have a fallbackPref. See UrlbarPrefs.sys.mjs. type: string description: The Firefox Suggest scenario in which the user is enrolled enum: @@ -421,6 +422,11 @@ urlbar: If neither Nimbus nor remote settings defines a cap, no cap will be used, and the user will be able to increment the minimum length without any limit. + weatherSimpleUI: + type: boolean + description: >- + If true, show the weather suggestion by simple UI edition as follows. + * Remove the forcast text from the summary text. yelpMinKeywordLength: type: int fallbackPref: browser.urlbar.yelp.minKeywordLength @@ -567,6 +573,13 @@ aboutwelcome: fallbackPref: browser.aboutwelcome.newtabUrlBarFocus description: >- Should the urlbar be focused when the new tab page loads after new user onboarding + toolbarButtonEnabled: + type: boolean + setPref: + branch: user + pref: browser.aboutwelcome.toolbarButtonEnabled + description: >- + Should the return to about:welcome toolbar button be shown moreFromMozilla: description: "New page on about:preferences to suggest more Mozilla products" @@ -604,7 +617,6 @@ windowsJumpList: description: "Controls for the Windows Jump List integration." owner: mconley@mozilla.com hasExposure: false - isEarlyStartup: true variables: legacyBackend: type: boolean @@ -862,10 +874,15 @@ pocketNewtab: fallbackPref: >- browser.newtabpage.activity-stream.discoverystream.ctaButtonSponsors ctaButtonVariant: - description: Specifies which veriant to use for any sponsors in ctaButtonSponsors + description: Specifies which variant to use for any sponsors in ctaButtonSponsors type: string fallbackPref: >- browser.newtabpage.activity-stream.discoverystream.ctaButtonVariant + spocMessageVariant: + description: Adds some message dialogs explainging sponsored content to the user + type: string + fallbackPref: >- + browser.newtabpage.activity-stream.discoverystream.spocMessageVariant regionStoriesConfig: description: A comma-separated list of region to get stories for. type: string @@ -1064,7 +1081,6 @@ fullPageTranslation: description: This feature opens a popup panel to offer to translate a page. owner: gtatum@mozilla.com hasExposure: false - isEarlyStartup: true variables: boolean: description: Set to true to enable the translations feature @@ -1077,7 +1093,6 @@ fullPageTranslationAutomaticPopup: description: Controls whether the popup automatically shows for translations. owner: gtatum@mozilla.com hasExposure: false - isEarlyStartup: true variables: boolean: description: Set to true to automatically popup, and false to only show the button. @@ -1246,6 +1261,26 @@ fxms-message-11: path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json" variables: {} +whatsNewPage: + description: "A Firefox Messaging System message for the What's new page channel" + owner: omc@mozilla.com + hasExposure: true + exposureDescription: >- + "Exposure is sent if the message is about to be shown after trigger and targeting conditions on the message matched." + variables: + overrideUrl: + description: URL of the What's new page + type: string + setPref: + branch: user + pref: startup.homepage_override_url_nimbus + maxVersion: + description: Maximum Firefox update version + type: string + setPref: + branch: user + pref: startup.homepage_override_nimbus_maxVersion + pbNewtab: description: "A Firefox Messaging System message for the pbNewtab message channel" owner: omc@mozilla.com @@ -1325,6 +1360,7 @@ glean: gleanInternalSdk: description: "The Glean internal SDK feature intended only for internal Glean Team use" + owner: glean-team@mozilla.com hasExposure: false # Some variables are used through the C++ API and thus require pref-storage. # We rely on those values at Glean.init time, which happens at startup. @@ -1664,7 +1700,6 @@ fxaButtonVisibility: description: Prefs to control the visibility of the Firefox Accounts toolbar button when not signed in. owner: mconley@mozilla.com hasExposure: false - isEarlyStartup: true variables: boolean: description: True if the Firefox Accounts toolbar button should be visible when not signed in. @@ -1802,7 +1837,6 @@ migrationWizard: description: Prefs to control the Migration Wizard UI. owner: mconley@mozilla.com hasExposure: false - isEarlyStartup: true variables: showImportAll: description: True if the "Variant 2" of the Migration Wizard browser / profile selection UI should be used. This is only meaningful in the new Migration Wizard. @@ -1891,36 +1925,205 @@ mixedContentUpgrading: branch: default pref: security.mixed_content.upgrade_display_content.video -jsParallelParsing: - description: Pref to toggle JS parallel parsing. - owner: dpalmeiro@mozilla.com, nbp@mozilla.com - isEarlyStartup: true +gc: + description: Prefs that control gc heuristics. + owner: dpalmeiro@mozilla.com hasExposure: false variables: - enabled: - description: True to enable parallel parsing. + max_nursery_size: + description: Set the maximum size of the GC nursery, in kb. + type: int + setPref: + branch: user + pref: "javascript.options.mem.nursery.max_kb" + min_nursery_size: + description: Set the minimum size of the GC nursery, in kb. + type: int + setPref: + branch: user + pref: "javascript.options.mem.nursery.min_kb" + gc_allocation_threshold_mb: + description: Lower limit for collecting a zone, in MB. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_allocation_threshold_mb" + gc_balanced_heap_limits: + description: Whether balanced heap limits are enabled. type: boolean setPref: branch: user - pref: "javascript.options.parallel_parsing" + pref: "javascript.options.mem.gc_balanced_heap_limits" + gc_compacting: + description: Whether compacting GC is enabled. + type: boolean + setPref: + branch: user + pref: "javascript.options.mem.gc_compacting" + gc_heap_growth_factor: + description: Heap growth parameter for balanced heap limit calculation. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_heap_growth_factor" + gc_helper_thread_ratio: + description: Number of threads to use for parallel GC work. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_helper_thread_ratio" + gc_high_frequency_large_heap_growth: + description: Heap growth factor for large heaps in the high-frequency GC state. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_high_frequency_large_heap_growth" + gc_high_frequency_small_heap_growth: + description: Heap growth factor for small heaps in the high-frequency GC state. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_high_frequency_small_heap_growth" + gc_high_frequency_time_limit_ms: + description: GCs less than this far apart in milliseconds will be + considered high-frequency GCs. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_high_frequency_time_limit_ms" + gc_incremental: + description: Whether incremental GC is enabled. If not, GC will always run to completion. + type: boolean + setPref: + branch: user + pref: "javascript.options.mem.gc_incremental" + incremental_weakmap: + description: Enable incremental weakmap marking. + type: boolean + setPref: + branch: user + pref: "javascript.options.mem.incremental_weakmap" + gc_incremental_slice_ms: + description: Max milliseconds to spend in an incremental GC slice. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_incremental_slice_ms" + gc_large_heap_incremental_limit: + description: Limit of how far over the incremental trigger threshold we allow the + heap to grow before finishing a collection non-incrementally, for large heaps. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_large_heap_incremental_limit" + gc_large_heap_size_min_mb: + description: Lower limit for classifying a heap as large, in MB. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_large_heap_size_min_mb" + gc_low_frequency_heap_growth: + description: Heap growth factor for low frequency GCs. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_low_frequency_heap_growth" + gc_malloc_threshold_base_mb: + description: Set the malloc threshold base value in MB. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_malloc_threshold_base_mb" + gc_max_empty_chunk_count: + description: Do not keep more than this many unused chunks in the free chunk pool. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_max_empty_chunk_count" + gc_max_helper_threads: + description: The maximum number of background threads to use for parallel GC work. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_max_helper_threads" + gc_min_empty_chunk_count: + description: We try to keep at least this many unused chunks in the free chunk + pool at all times, even after a shrinking GC. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_min_empty_chunk_count" + gc_parallel_marking: + description: Enable parallel marking. + type: boolean + setPref: + branch: user + pref: "javascript.options.mem.gc_parallel_marking" + gc_parallel_marking_threshold_mb: + description: The heap size above which to use parallel marking. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_parallel_marking_threshold_mb" + gc_per_zone: + description: Whether per-zone GC is enabled. If not, all zones are collected every time. + type: boolean + setPref: + branch: user + pref: "javascript.options.mem.gc_per_zone" + gc_small_heap_incremental_limit: + description: Limit of how far over the incremental trigger threshold we allow the heap + to grow before finishing a collection non-incrementally, for small heaps. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_small_heap_incremental_limit" + gc_small_heap_size_max_mb: + description: Upper limit for classifying a heap as small, in MB. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_small_heap_size_max_mb" + gc_urgent_threshold_mb: + description: Set the urgent threshold, in MB. + type: int + setPref: + branch: user + pref: "javascript.options.mem.gc_urgent_threshold_mb" + nursery_eager_collection_threshold_kb: + description: Set the eager collection threshold, in kb, for the nursery. + type: int + setPref: + branch: user + pref: "javascript.options.mem.nursery_eager_collection_threshold_kb" + nursery_eager_collection_threshold_percent: + description: Set the eager collection percent threshold for the nursery. + type: int + setPref: + branch: user + pref: "javascript.options.mem.nursery_eager_collection_threshold_percent" + nursery_eager_collection_timeout_ms: + description: Set the eager collection timeout, in ms, for the nursery. + type: int + setPref: + branch: user + pref: "javascript.options.mem.nursery_eager_collection_timeout_ms" -gcParallelMarking: - description: Pref to toggle parallel marking in the GC. - owner: dpalmeiro@mozilla.com, jonco@mozilla.com - isEarlyStartup: true +jsParallelParsing: + description: Pref to toggle JS parallel parsing. + owner: dpalmeiro@mozilla.com, nbp@mozilla.com hasExposure: false variables: enabled: - description: True to enable parallel marking. + description: True to enable parallel parsing. type: boolean setPref: branch: user - pref: "javascript.options.mem.gc_parallel_marking" + pref: "javascript.options.parallel_parsing" jitThresholds: description: Prefs that control jit tier thresholds. owner: dpalmeiro@mozilla.com, jdemooij@mozilla.com - isEarlyStartup: true hasExposure: false variables: blinterp_threshold: @@ -1963,7 +2166,6 @@ jitThresholds: jitHintsCache: description: Pref to toggle the JIT hints cache. owner: dpalmeiro@mozilla.com - isEarlyStartup: true hasExposure: false variables: enabled: @@ -1997,17 +2199,6 @@ httpSpeculativeParallelLimit: branch: default pref: "network.http.speculative-parallel-limit" -deviceMigration: - description: Prefs to control aspects of the new device migration experiment - owner: hjones@mozilla.com - hasExposure: false - isEarlyStartup: true - variables: - helpMenuHidden: - description: True if new help menu item should be hidden - type: boolean - fallbackPref: browser.device-migration.help-menu.hidden - shopping2023: description: Prefs to control the 2023 shopping experiment. owner: jhirsch@mozilla.com @@ -2069,7 +2260,6 @@ shoppingOHTTP: opaqueResponseBlocking: description: Prefs to enable Opaque Response Blocking owner: farre@mozilla.com - isEarlyStartup: true hasExposure: true exposureDescription: Exposure is sent when a response is blocked variables: @@ -2124,7 +2314,6 @@ powerSaver: description: Prefs to control power saving behaviors owner: florian@mozilla.com hasExposure: false - isEarlyStartup: true variables: reduceFrameRates: type: int @@ -2165,7 +2354,6 @@ backgroundUpdate: feature is enabled and the service registry key (Mozilla Maintenance Service) is *not* available for this installation. That is the first time the feature can impact Firefox behaviour and the user experience. - isEarlyStartup: true variables: enableUpdatesForUnelevatedInstallations: description: >- @@ -2174,7 +2362,7 @@ backgroundUpdate: directory can be written. type: boolean setPref: - branch: default + branch: user pref: app.update.background.allowUpdatesForUnelevatedInstallations defaultAgent: @@ -2195,7 +2383,6 @@ bookmarks: description: Prefs to control aspects of the bookmarks system. owner: omc@mozilla.com hasExposure: false - isEarlyStartup: true variables: enableBookmarksToolbar: type: string @@ -2274,7 +2461,6 @@ backgroundThreads: description: Prefs to control MacOS thread priorities for power savings. owner: kwright@mozilla.com hasExposure: false - isEarlyStartup: true variables: use_low_power: description: >- @@ -2293,9 +2479,9 @@ backgroundThreads: pref: threads.lower_mainthread_priority_in_background.enabled reportBrokenSite: - description: the Report Broken Site feature + description: The Report Broken Site feature + owner: twisniewski@mozilla.com hasExposure: false - isEarlyStartup: true variables: enabled: type: boolean @@ -2348,7 +2534,6 @@ phc: description: Prefs to control the Probabalistic Heap Checker (PHC) owner: pbone@mozilla.com hasExposure: false - isEarlyStartup: true variables: phcEnabled: description: Whether to enable PHC @@ -2413,3 +2598,53 @@ nimbusIsReady: eventCount: description: The number of events that should be sent. type: int + +nimbusTelemetry: + description: A feature that enables or disables Nimbus telemetry. + owner: chumphreys@mozilla.com + hasExposure: false + applications: + - firefox-desktop + variables: + gleanMetricConfiguration: + description: A Glean metric configuration JSON blob. + type: json + +httpsFirst: + description: >- + Prefs for HTTPS-First, which upgrades all top-level page loads to HTTPS and + provides a automatic fallback to HTTP if the site isn't available via HTTPS. + owner: mjurgens@mozilla.com, seceng-telemetry@mozilla.com + hasExposure: false + variables: + enabled: + description: Enable HTTPS-First + type: boolean + setPref: + branch: default + pref: dom.security.https_first + enabledPbm: + description: Enable HTTPS-First in private browsing only + type: boolean + setPref: + branch: default + pref: dom.security.https_first_pbm + enabledSchemeless: + description: >- + Enables schemeless HTTPS-First, which will only apply HTTPS-First to address + bar inputs without a scheme. This essentially makes HTTPS the default + scheme in the address bar, while providing a fallback to HTTP. + type: boolean + setPref: + branch: default + pref: dom.security.https_first_schemeless + backgroundTimerMs: + description: >- + After a request gets upgraded to HTTPS, specifies the time after which a + second HTTP request is fired to check if the site is available via + HTTPS, but timing out via HTTPS. This also applies to HTTPS-Only, not + just HTTPS-First. + type: int + setPref: + branch: default + pref: dom.security.https_only_fire_http_request_background_timer_ms -- cgit v1.2.3