Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  FeatureManifest.yaml  Sprache: unbekannt

 
Spracherkennung für: .yaml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# This Source Code Form is subject to the terms of the Mozilla Public
# 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":
  description: A dummy feature for experiments that target no feature.
  owner: beth@mozilla.com
  applications:
    - firefox-desktop
    - firefox-desktop-background-task
  hasExposure: false
  allowCoenrollment: true
  variables: {}

testFeature:
  description: Test only feature
  owner: beth@mozilla.com
  applications:
    - firefox-desktop
    - firefox-desktop-background-task
  hasExposure: false
  isEarlyStartup: true
  variables:
    enabled:
      type: boolean
      description: Whether or not this feature is enabled
    testInt:
      type: int
      fallbackPref: nimbus.testing.testInt
      description: Int pref used by platform API tests
    testSetString:
      type: string
      setPref:
        branch: user
        pref: nimbus.testing.testSetString
      description: A string pref set by Nimbus tests

nimbus-qa-1:
  description: A feature for testing pref-setting on the default branch.
  owner: beth@mozilla.com
  hasExposure: false
  variables:
    value:
      type: string
      setPref:
        branch: default
        pref: nimbus.qa.pref-1
      description: The value to set for the pref.

nimbus-qa-2:
  description: A feature for testing pref-setting on the user branch.
  owner: beth@mozilla.com
  hasExposure: false
  variables:
    value:
      type: string
      setPref:
        branch: user
        pref: nimbus.qa.pref-2
      description: The value to set for the pref.

# Note: this feature is not for general use. If you want to run an experiment
# that sets prefs, you *must* register your feature in this manifest and specify
# the prefs you will control.
prefFlips:
  description: Flip arbitrary prefs. Controlled by release management.
  owner: beth@mozilla.com
  hasExposure: false
  allowCoenrollment: true
  variables:
    prefs:
      type: json
      description: "The prefs to set."
  schema:
    uri: resource://nimbus/schemas/PrefFlipsFeature.schema.json
    path: toolkit/components/nimbus/schemas/PrefFlipsFeature.schema.json

search:
  description: Search service related features.
  owner: search-and-suggest-program@mozilla.com
  hasExposure: true
  exposureDescription: >
    Exposure is recorded when the visual search context menu item is shown or
    would have been shown.
  variables:
    scotchBonnetEnableOverride:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.scotchBonnet.enableOverride
      description: >-
        Whether or not enabling scotch bonnet feature.
        If this variable is true, the following features are available as default.
        * Unified search button
        * Secondary action buttons
        * Search term persistence
        * Intuitive search keywords
        * HTTP swap
    trendingRequireSearchMode:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.trending.requireSearchMode
      description: Controls whether trending suggestions are only shown in search mode or not.
    trendingMaxResultsNoSearchMode:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.trending.maxResultsNoSearchMode
      description: The maximum number of trending results mode outside search mode.
    targetExperiment:
      type: string
      description: >-
        Recorded in SERP telemetry, this is the slug of the experiment someone
        is requesting enrollment and branch information for. (Note that the
        featureId needs to be set to "search".)
    visualSearchEnabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.search.visualSearch.featureGate
      description: >-
        Feature gate for visual search.

searchConfiguration:
  description: >-
    Search experimentation support for the engine configuration. Some of these
    options may cause an additional reload to occur during the startup phase.
  owner: search-and-suggest-program@mozilla.com
  hasExposure: false
  variables:
    experiment:
      type: string
      setPref:
        branch: user
        pref: browser.search.experiment
      description: >-
        Used to activate only matching configurations that contain the value in
        `experiment`
    extraParams:
      type: json
      description: >-
        This allows extra parameters to be set for search engines requests including,
        where calls to the suggestions API, the search engine configuration defines
        those parameters.

        The use of this field should be coordinated with the Search team.

        The field value is an array of objects with key/value fields. For example:

        [
          {"key": "google_channel_row", "value": "foo"}
        ]

        This is matched to a section in the search configuration:

        "params": [
          {
            "name": "channel",
            "experimentConfig": "google_channel_row"
          }
        ],

        In this case, the resulting URL for the appropriate search engine would have
        `&channel=foo` added to the URL when doing searches.

        If the key is not referenced in the search configuration, then no parameter
        will be added. If the parameter is in the search configuration, but there
        is no experiment, or the experiment does not set a value, then the
        parameter will not be included in the search url.

        Only the search team can update the configuration.
    separatePrivateDefaultUIEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.search.separatePrivateDefault.ui.enabled
      description: Whether the UI for the separate private default feature is enabled.
    separatePrivateDefaultUrlbarResultEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.search.separatePrivateDefault.urlbarResult.enabled
      description: Whether the urlbar result for the separate private default is shown.

urlbar:
  description: The Address Bar
  owner: search-and-suggest-program@mozilla.com
  hasExposure: true
  exposureDescription: >-
    The timing of the exposure event depends on the experiment, but generally
    the event is recorded once per app session when the user first encounters
    the UI of the experiment in which they're enrolled.
  variables:
    actionsOnboardingTimesToShow:
      type: int
      fallbackPref: browser.urlbar.quickactions.timesToShowOnboardingLabel
      description: >-
        The number of times a user should be shown the actions onboarding label.
    addonsFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.addons.featureGate
      description: >-
        Feature gate that controls whether all aspects of the addons suggestion
        feature are exposed to the user.
    addonsShowLessFrequentlyCap:
      type: int
      description: >-
        If defined and non-zero, this is the maximum number of times the user
        will be able to click the "Show less frequently" command for addon
        suggestions. If undefined or zero, the user will be able to click the
        command without any limit.
    allowSearchSuggestionsForSimpleOrigins:
      type: boolean
      fallbackPref: browser.urlbar.allowSearchSuggestionsForSimpleOrigins
      description: >-
        Whether remote search suggestions should be fetched for search strings
        that look like possible simple origins like "mozilla.org". Search
        suggestions will remain prohibited for search strings that look like
        more complex origins that include userinfo or ports or are IP addresses.
    ampFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.amp.featureGate
      description: >-
        Feature gate that controls whether all aspects of the AMP suggestions
        feature are exposed to the user.
    ampMatchingStrategy:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.ampMatchingStrategy
      description: >-
        The matching strategy for AMP suggestions. Leave undefined or set to
        zero to use the usual default exact-keyword strategy. Otherwise set to
        an integer value defined on `AmpMatchingStrategy` in
        `RustSuggest.sys.mjs` (corresponding to the `AmpMatchingStrategy` enum
        in the Rust component coerced to a 1-based integer value).
    autoFillAdaptiveHistoryEnabled:
      type: boolean
      setPref:
        pref: browser.urlbar.autoFill.adaptiveHistory.enabled
        branch: user
      description: Whether enabling adaptive history autofill.
    autoFillAdaptiveHistoryMinCharsThreshold:
      type: int
      setPref:
        pref: browser.urlbar.autoFill.adaptiveHistory.minCharsThreshold
        branch: user
      description: Minimum char length of the user's search string to trigger adaptive history autofill.
    autoFillAdaptiveHistoryUseCountThreshold:
      type: string
      description: This value assumes float expression like "0.47". Threshold for use count of input history that we handle as adaptive history autofill. If the use count is this value or more, it will be a candidate.
    autoFillBackspaceBlockDurationMs:
      type: int
      setPref:
        pref: browser.urlbar.autoFill.backspaceBlockDurationMs
        branch: user
      description: Duration in ms to temporarily block autofill after backspace penalty.
    autoFillBackspaceThreshold:
      type: int
      setPref:
        pref: browser.urlbar.autoFill.backspaceThreshold
        branch: user
      description: >-
        How many times the user must consecutively backspace away an autofill
        suggestion before we penalize and temporarily suppress it from
        autofilling. The result may still appear as a regular history result.
    autoFillDismissalBlockDurationMs:
      type: int
      setPref:
        pref: browser.urlbar.autoFill.dismissalBlockDurationMs
        branch: user
      description: Duration in ms to block an origin or URL after user dismissal.
    deduplicationEnabled:
      type: boolean
      setPref:
        pref: browser.urlbar.deduplication.enabled
        branch: user
      description: >-
        Feature gate that controls whether result deduplication in the urlbar
        is enabled.
    # TODO Bug 1982966: Remove this after all experiments and rollouts using it
    # finish.
    fakespotFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.fakespot.featureGate
      description: >-
        Feature gate that controls whether all aspects of the Fakespot suggestion
        feature are exposed to the user.
    flightStatusFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.flightStatus.featureGate
      description: >-
        Feature gate that controls whether all aspects of flight status suggestions
        feature are exposed to the user.
    importantDatesFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.importantDates.featureGate
      description: >-
        Feature gate that controls whether all aspects of the important dates
        suggestion feature are exposed to the user.
    keywordExposureResults:
      type: string
      setPref:
        pref: browser.urlbar.keywordExposureResults
        branch: user
      description: >-
        Comma-separated list of result types that should trigger
        keyword-exposure telemetry. Keyword exposures can be recorded along with
        result exposures. To enable keyword exposures for a result type, you
        must add it both to this variable and to `exposureResults`. The only
        exception is the "rust_exposure" result type, which can be added to this
        variable even if it's not in `exposureResults` since it's enabled by
        setting the `quickSuggestExposureSuggestionTypes` variable. Keyword
        exposures are recorded in the `urlbar-keyword-exposure` ping. See that
        ping's description for more.
    marketFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.market.featureGate
      description: >-
        Feature gate that controls whether all aspects of the stock market
        suggestions feature are exposed to the user.
    mdnFeatureGate:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.mdn.featureGate
      description: >-
        Feature gate that controls whether all aspects of the mdn suggestion
        feature are exposed to the user.
    merinoClientVariants:
      type: string
      fallbackPref: browser.urlbar.merino.clientVariants
      description: >-
        Comma separated list of client variants to report to the Merino server.
        May impact server behavior.
    merinoEndpointURL:
      type: string
      fallbackPref: browser.urlbar.merino.endpointURL
      description: >-
        The Merino endpoint URL, not including parameters. An empty string will
        cause Firefox not to fetch from Merino.
    merinoOhttpConfigURL:
      type: string
      fallbackPref: browser.urlbar.merino.ohttpConfigURL
      description: >-
        OHTTP config URL for Merino requests.
    merinoOhttpRelayURL:
      type: string
      fallbackPref: browser.urlbar.merino.ohttpRelayURL
      description: >-
        OHTTP relay URL for Merino requests.
    merinoProviders:
      type: string
      fallbackPref: browser.urlbar.merino.providers
      description: >-
        Comma-separated list of providers to request from the Merino server.
        Merino will return suggestions only for these providers.
    merinoTimeoutMs:
      type: int
      fallbackPref: browser.urlbar.merino.timeoutMs
      description: Timeout for Merino fetches (ms)
    exposureResults:
      type: string
      setPref:
        pref: browser.urlbar.exposureResults
        branch: user
      description: >-
        Comma-separated list of result types that should trigger exposure
        telemetry, which is recorded in the `exposure` event. By default
        exposure results are visible like usual, but they can be hidden by
        setting the `showExposureResults` variable to false. To also record
        keyword exposures for a result type, include it in the
        `keywordExposureResults` variable as well.
    showExposureResults:
      type: boolean
      setPref:
        pref: browser.urlbar.showExposureResults
        branch: user
      description: >-
        Boolean used to determine if the results defined in `exposureResults` should be shown in search results. Should be false for Control branch of an experiment.
    quickSuggestAmpTopPickCharThreshold:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.ampTopPickCharThreshold
      description: >-
        Character-count threshold (inclusive) for showing AMP suggestions as top
        picks. If the user's query matches an AMP suggestion and the query is at
        least this many characters long, the suggestion will be shown as a top
        pick. Set to zero to disable.
    quickSuggestAmpTopPickUseNovaIconSize:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.ampTopPickUseNovaIconSize
      description: >-
        Whether or not use the Nova icon size for AMP suggestion.
        Otherwise, use standard rich-suggestion size.
    quickSuggestContextualOptInEnabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn
      description: Whether the Firefox Suggest contextual opt-in result is enabled.
    quickSuggestContextualOptInFirstReshowAfterPeriodDays:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn.firstReshowAfterPeriodDays
      description: Period until reshow the Firefox Suggest contextual opt-in result when first dismissed.
    quickSuggestContextualOptInSecondReshowAfterPeriodDays:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn.secondReshowAfterPeriodDays
      description: Period until reshow the Firefox Suggest contextual opt-in result when second dismissed.
    quickSuggestContextualOptInThirdReshowAfterPeriodDays:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn.thirdReshowAfterPeriodDays
      description: Period until reshow the Firefox Suggest contextual opt-in result when third dismissed.
    quickSuggestContextualOptInImpressionLimit:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn.impressionLimit
      description: Limit for impression to dismiss the Firefox Suggest contextual opt-in result.
    quickSuggestContextualOptInImpressionDaysLimit:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.quicksuggest.contextualOptIn.impressionDaysLimit
      description: Days until dismiss the Firefox Suggest contextual opt-in result after first impression.
    quickSuggestDynamicSuggestionTypes:
      type: string
      setPref:
        pref: browser.urlbar.quicksuggest.dynamicSuggestionTypes
        branch: user
      description: >-
        Comma-separated list of Suggest dynamic suggestion types to enable. Set
        this variable to the `suggestion_type` defined in the remote settings
        record that contains your suggestions. If you want to enable multiple
        suggestion types, separate them with commas. One particular intended use
        of this variable is to deliver hidden-exposure suggestions for testing
        potential exposures. Hidden-exposure suggestions trigger exposure
        telemetry based on a set of keywords you provide but they are never
        visible. If you are testing multiple types of hidden-exposure
        suggestions, consider using one experiment branch per type, especially
        if you are also enabling keyword exposures. Exposure suggestions are
        recorded in telemetry with the "rust_exposure" result type. It's not
        necessary to include "rust_exposure" in `exposureResults`. Unless you
        are testing other results in the same experiment branch, it's also not
        necessary to set `showExposureResults: false`. To also record keyword
        exposures, include "rust_exposure" in `keywordExposureResults`.
    quickSuggestEnabled:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.enabled
      description: >-
        Gate for the Firefox Suggest feature as a whole. If false, the Firefox
        Suggest preferences UI and Suggest suggestions will not be shown. If
        true, the preferences UI will be shown, and the user can turn
        suggestions on or off.
    quickSuggestImpressionCapsSponsoredEnabled:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.impressionCaps.sponsoredEnabled
      description: Whether sponsored suggestions are subject to impression frequency caps. If false, sponsored suggestions can be shown an unlimited number of times over any given period. If true, sponsored suggestion impressions will be subject to the caps in the remote settings configuration.
    quickSuggestImpressionCapsNonSponsoredEnabled:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.impressionCaps.nonSponsoredEnabled
      description: Whether non-sponsored suggestions are subject to impression frequency caps. If false, non-sponsored suggestions can be shown an unlimited number of times over any given period. If true, non-sponsored suggestion impressions will be subject to the caps in the remote settings configuration.
    quickSuggestMlInitDelaySeconds:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.mlInitDelaySeconds
      description: >-
        How long to wait in seconds after startup before initializing the
        Suggest ML backend.
    quickSuggestMlEnabled:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.mlEnabled
      description: >-
        Whether Suggest will use the ML backend in addition to Rust.
    quickSuggestNonSponsoredEnabled:
      type: boolean
      description: >-
        Deprecated: In 146 and later this variable no longer does anything. It
        should be removed once all current experiments that use it finish.
    quickSuggestNonSponsoredIndex:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.nonSponsoredIndex
      description: >-
        The index of non-sponsored QuickSuggest results within the general
        group. A negative index is relative to the end of the group
    quickSuggestOnlineAvailable:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.online.available
      description: >-
        Whether online Suggest should be made available to the user.
    quickSuggestRankingMode:
      type: string
      fallbackPref: browser.urlbar.quicksuggest.rankingMode
      description: >-
        Specify the ranking mode for QuickSuggest.
          - "default": ranking by static scores specified by individual providers.
          - "interest": ranking by relevance scores provided by `ContentRelevancyManager`.
          - "random": ranking by randomly selecting a winner out of candidates.
        Note that this ranking mode can still be overridden by `quickSuggestScoreMap`.
        If the ranking mode is unspecified or set to any unknown values, it will default
        to the static score based ranking.
      enum:
        - default
        - interest
        - random
    quickSuggestScoreMap:
      type: json
      description: >-
        A JSON object that maps telemetry result types to suggestion scores. If
        a telemetry result type is present in this map, the client will use the
        corresponding score as the score for all suggestions of the type,
        overriding all other sources of scores for the type. In other words,
        the scores in this map will override scores that are set in remote
        settings and Merino as well as scores that are hardcoded in the client.
        Example entries: `"amo": 0.5`, `"adm_sponsored": 0.9`
    quickSuggestSettingsUi:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.settingsUi
      description: >-
        When Suggest is enabled, this determines the Suggest settings that will
        be visible in the settings UI (about:preferences). When Suggest is
        disabled, this is ignored and Suggest settings are hidden. Possible
        values:
        0: (default) Full, all settings will be shown.
        1: None, no settings will be shown.
        2: Offline only, settings that pertain to online will be hidden.
    quickSuggestSponsoredEnabled:
      type: boolean
      description: Whether sponsored suggestions should be enabled by default. If this variable is specified, it will override the value implied by the scenario. It will never override the user's local preference to disable (or enable) sponsored suggestions, if the user has already toggled that preference.
    quickSuggestSponsoredIndex:
      type: int
      fallbackPref: browser.urlbar.quicksuggest.sponsoredIndex
      description: >-
        The index of sponsored Firefox Suggest results within the Firefox Suggest
        section when "Show search suggestions ahead of browsing history in
        address bar results" is checked. When not checked, the index is hardcoded
        as -1. Negative indexes are relative to the end of the section.
    quickSuggestSponsoredPriority:
      type: boolean
      fallbackPref: browser.urlbar.quicksuggest.sponsoredPriority
      description: >-
        Whether or not showing sponsored suggestion as priority.
        If this variable is true, the following things are processed.
        * "Sponsored" label is shown as the group label.
        * Change the suggested index to 1.
        * Handle as top pick.
    realtimeMinKeywordLength:
      type: int
      description: >-
        The minimum prefix length of a realtime keyword the user must type to
        trigger the suggestion.
    realtimeShowLessFrequentlyCap:
      type: int
      description: >-
        If defined and non-zero, this is the maximum number of times the user
        will be able to click the "Show less frequently" command for realtime
        suggestions. If undefined or zero, the user will be able to click the
        command without any limit.
    recentSearchesFeatureGate:
      type: boolean
      setPref:
        branch: default
        pref: browser.urlbar.recentsearches.featureGate
      description: Gate for the recent searches feature.
    recentSearchesMaxResults:
      type: int
      setPref:
        branch: default
        pref: browser.urlbar.recentsearches.maxResults
      description: The maximum number of recent searches to show.
    resultExplanationsFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.resultExplanations.featureGate
      description: >-
        When selecting and hovering over certain types of urlbar results,
        replace their URLs with strings that explain why they're shown.
    semanticHistoryEnable:
      type: boolean
      setPref:
        branch: user
        pref: places.semanticHistory.featureGate
      description: use semanticHistory Search feature.
    semanticHistoryDefaultBatchChunksize:
      type: int
      setPref:
        branch: user
        pref: places.semanticHistory.defaultBatchChunksize
      description: >-
        The batch chunk size for updates for vectorDB
        defaulted at 25.
    semanticHistoryMaxChunkTimeMs:
      type: int
      setPref:
        branch: user
        pref: places.semanticHistory.maxChunkTimeMs
      description: >-
        Soft per-chunk time threshold (ms) for background indexing. If the
        median of the last 9 chunk durations exceeds this and the database
        already holds more than `semanticHistoryMinEntriesBeforeThrottle`
        embeddings, indexing stops advancing until next places event.
    semanticHistoryMaxChunkTimeMsFailsafe:
      type: int
      setPref:
        branch: user
        pref: places.semanticHistory.maxChunkTimeMsFailsafe
      description: >-
        Failsafe per-chunk time threshold (ms) for background indexing. If half
        or more of the last 9 chunk durations exceed this, indexing stops
        advancing, regardless of how many embeddings exist, until restart.
    semanticHistoryMinEntriesBeforeThrottle:
      type: int
      setPref:
        branch: user
        pref: places.semanticHistory.minEntriesBeforeThrottle
      description: >-
        Minimum number of embeddings that must exist before the soft
        `semanticHistoryMaxChunkTimeMs` threshold can stop indexing. Below this
        count indexing keeps going even when slow, so the feature reaches a
        usable state. Defaulted at 1000.
    semanticHistoryDistanceThreshold:
      type: string
      setPref:
        branch: user
        pref: places.semanticHistory.distanceThreshold
      description: >-
        semantic similarity distance threshold (0.0 - 1.0)
        defaulted at 0.6.
    semanticHistorySupportedRegions:
      type: string
      setPref:
        branch: user
        pref: places.semanticHistory.supportedRegions
      description: >-
        map-like JSON of regions and locales for which the feature is supported.
        When `semanticHistoryEnable` is false, this list is ignored and the
        feature is disabled everywhere. When true, the feature is enabled only
        in the regions/locales listed here.
        The format is like: '[["AU",["en-*"]],["CA",["en-*"]], …]' where `-*`
        can be used as a wildcard to match any locale that starts with the given
        prefix.
    semanticHistoryEmbeddingType:
      type: string
      setPref:
        branch: user
        pref: places.semanticHistory.embeddingType
      description: >-
        Embedding family used by Places semantic history: "static" (default,
        lightweight) or "contextual" (transformer-based, larger). Changing
        this on a live profile drops the embedding tables and rebuilds them
        on next startup. Contextual model details (dimension, modelId,
        wasm fallback) are controlled by the browser.ml.embedGen.* prefs and
        are intentionally not exposed via Nimbus.
    semanticHistoryInSeparateGroup:
      type: boolean
      setPref:
        branch: user
        pref: browser.urlbar.suggest.semanticHistory.separateGroup
      description: >-
        Whether semantic history results are placed in their own result group
        that fills only the space left after the other result groups, so
        semantic results never evict non-semantic results. Off by default.
    showDebuggingIcons:
      type: boolean
      setPref:
        branch: user
        pref: browser.urlbar.showDebuggingIcons
      description: >-
        Whether or not to show debugging badges on urlbar results favicons.
    sportsFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.sports.featureGate
      description: >-
        Feature gate that controls whether all aspects of the sports suggestions
        feature are exposed to the user.
    suggestSemanticHistoryMinLength:
      type: int
      setPref:
        branch: user
        pref: browser.urlbar.suggest.semanticHistory.minLength
      description: >-
        Minimum length of search query when history semantic
        search will be enabled.
    suggestCalculator:
      type: boolean
      setPref:
        branch: user
        pref: browser.urlbar.suggest.calculator
      description: >-
        Whether or not to show calculator results when a user types a valid
        calculation string into the urlbar.
    unitConversionEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.urlbar.unitConversion.enabled
      description: >-
        Whether or not to show unit conversion results when a user types a
        valid unit conversion string into the urlbar.
    weatherFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.weather.featureGate
      description: >-
        Feature gate that controls whether all aspects of the weather suggestion
        feature are exposed to the user.
    weatherKeywordsMinimumLength:
      type: int
      description: >-
        If defined and non-zero, the weather suggestion will be triggered by
        typing any prefix of a full weather keyword when the prefix is at least
        `weatherKeywordsMinimumLength` characters long. If this variable is
        absent or zero, Firefox will fall back to the minimum length defined in
        remote settings. If neither Nimbus nor remote settings defines a minimum
        length, only full keywords will trigger the suggestion.
    weatherShowLessFrequentlyCap:
      type: int
      description: >-
        If defined and non-zero, this is the maximum number of times the user
        will be able to click the "Show less frequently" command for weather
        suggestions. If undefined or zero, the user will be able to click the
        command without any limit.
    weatherUiTreatment:
      type: int
      fallbackPref: browser.urlbar.weather.uiTreatment
      description: >-
        The UI treatment to use for weather suggestions. Possible values:
        0: (default) Simplest UI with current temperature and location
        1: Simpler UI, adds current conditions, high/low, and URL
        2: Full UI, adds forecast
    wikipediaFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.wikipedia.featureGate
      description: >-
        Feature gate that controls whether all aspects of the Wikipedia
        suggestions feature (part of Firefox Suggest) are exposed to the user.
    yelpMinKeywordLength:
      type: int
      description: >-
        The minimum prefix length of a Yelp keyword the user must type to
        trigger the suggestion.
    yelpMlEnabled:
      type: boolean
      fallbackPref: browser.urlbar.yelp.mlEnabled
      description: >-
        Whether Yelp suggestions will be served from the Suggest ML backend
        instead of Rust.
    yelpFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.yelp.featureGate
      description: >-
        Feature gate that controls whether all aspects of the Yelp suggestion
        feature are exposed to the user.
    yelpServiceResultDistinction:
      type: boolean
      fallbackPref: browser.urlbar.yelp.serviceResultDistinction
      description: >-
        Whether to distinguish service type subjects. If true, we show special
        titile for the suggestion.
    yelpShowLessFrequentlyCap:
      type: int
      fallbackPref: browser.urlbar.yelp.showLessFrequentlyCap
      description: >-
        If defined and non-zero, this is the maximum number of times the user
        will be able to click the "Show less frequently" command for Yelp
        suggestions. If undefined or zero, the user will be able to click the
        command without any limit.
    yelpSuggestNonPriorityIndex:
      type: int
      description: >-
        The group-relative suggestedIndex of Yelp suggestions within the Firefox
        Suggest section. Ignored when `yelpSuggestPriority` is true.
    yelpSuggestPriority:
      type: boolean
      fallbackPref: browser.urlbar.yelp.priority
      description: >-
        Whether or not showing yelp suggestion as priority.
        If this variable is true, the following things are processed.
        * Change the suggested index to 1.
        * Handle as top pick.
    yelpRealtimeFeatureGate:
      type: boolean
      fallbackPref: browser.urlbar.yelpRealtime.featureGate
      description: >-
        Feature gate that controls whether all aspects of Yelp realtime suggestions
        feature are exposed to the user.
    originsAlternativeEnable:
      description: >-
        Use an alternative ranking algorithm for autofilling origins, that is
        mainly domains of Web pages. When the user types the beginning of an
        origin, we autofill the whole origin. Whether autofill happens depends
        on the ranking algorithm. Bookmarks are always autofilled anyway.
      type: boolean
      setPref:
        branch: user
        pref: "places.frecency.origins.alternative.featureGate"
    originsDaysCutOff:
      description: >-
        The alternative ranking algorithm only considers pages visited in the
        last N days, where N is controlled by this variable.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.origins.alternative.daysCutOff"
    pagesAlternativeEnable:
      description: >-
        Use an alternative ranking algorithm for sorting history and bookmarks
        among the urlbar results.
      type: boolean
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.featureGate"
    pagesNumSampledVisits:
      description: >-
        The number of recent visits to sample when calculating the ranking of
        a page. Examining all the visits would be expensive, so we only sample
        recent visits.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.numSampledVisits"
    pagesHalfLifeDays:
      description: >-
        The number of days after which the ranking halves. This implements the
        "recency" part of the algorithm.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.halfLifeDays"
    pagesMaxVisitGap:
      description: >-
        The maximum allowed time (in seconds) between when a visit was recorded
        and when an interaction occurs for them to be paired. This accounts
        for slight discrepancies in their timestamps.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.interactions.maxVisitGapSeconds"
    pagesViewTimeSeconds:
      description: >-
        The minimum allowed time (in seconds) a page was viewed before upgrading
        the score of a visit.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.interactions.viewTimeSeconds"
    pageViewTimeIfManyKeypressesSeconds:
      description: >-
        The minimum allowed time (in seconds) a page was viewed before checking
        the manyKeypresses threshold.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.interactions.viewTimeIfManyKeypressesSeconds"
    manyKeypresses:
      description: >-
        The minimum number of keypresses typed before upgrading the score
        of a visit.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.interactions.manyKeypresses"
    pagesVeryHighWeight:
      description: >-
        The weight to use for the very high importance bucket.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.veryHighWeight"
    pagesHighWeight:
      description: >-
        The weight to use for the high importance bucket.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.highWeight"
    pagesMediumWeight:
      description: >-
        The weight to use for the medium importance bucket.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.mediumWeight"
    pagesLowWeight:
      description: >-
        The weight to use for the low importance bucket.
      type: int
      setPref:
        branch: user
        pref: "places.frecency.pages.alternative.lowWeight"

aboutwelcome:
  description: "The about:welcome page"
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent once per browsing session when the about:welcome URL is
    first accessed.
  isEarlyStartup: true
  variables:
    enabled:
      type: boolean
      fallbackPref: browser.aboutwelcome.enabled
      description: >-
        Should users see about:welcome? If this is false, users will see a
        regular new tab instead.
    id:
      type: string
      description: >-
        Descriptive ID for the about:welcome content
    screens:
      type: json
      fallbackPref: browser.aboutwelcome.screens
      description: Content to show in the onboarding flow
    languageMismatchEnabled:
      type: boolean
      fallbackPref: intl.multilingual.aboutWelcome.languageMismatchEnabled
      description: >-
        Suggest to change the language on about:welcome when there is a mismatch with
        the OS.
    transitions:
      type: boolean
      description: Enable transition effect between screens
    backdrop:
      type: string
      fallbackPref: browser.aboutwelcome.backdrop
      description: >-
        Specify the color to be used to update the background color
    toolbarButtonEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.aboutwelcome.toolbarButtonEnabled
      description: >-
        Should the return to about:welcome toolbar button be shown

preonboarding:
  description: "A modal that shows on first startup, typically on top of about:welcome"
  owner: omc-core@mozilla.com
  # Exposure is recorded by the spotlight feature used to show the modal
  hasExposure: false
  # Needed at `sessionstore-windows-restored`.
  isEarlyStartup: true
  variables:
    enabled:
      type: boolean
      fallbackPref: browser.preonboarding.enabled
      description: >-
        Should users see the preonboarding modal?
    screens:
      type: json
      fallbackPref: browser.preonboarding.screens
      description: Content to show in the onboarding flow
    requireAction:
      type: boolean
      fallbackPref: browser.preonboarding.requireAction
      description: >-
        When showModal is enabled, should action be required to proceed (show as a window modal with dismiss using the ESC key disabled)?
    currentVersion:
      type: int
      fallbackPref: termsofuse.currentVersion
      description: >-
        The current policy version displayed by this preonboarding modal.
    minimumVersion:
      type: int
      fallbackPref: termsofuse.minimumVersion
      description: >-
        The minimum policy version which the user must have accepted to not see
        the preonboarding modal. In some cases, the minimum version could be
        lower than the current version if the newer version(s) is not
        substantially different enough to warrant asking users to accept the TOU
        again.
    firstRunURL:
      type: string
      fallbackPref: datareporting.policy.firstRunURL
      description: >-
        URL of browser tab to be opened on first run instead of infobar.

moreFromMozilla:
  description: "New page on about:preferences to suggest more Mozilla products"
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent once per browsing session when the about:preferences URL is
    first accessed.
  variables:
    enabled:
      type: boolean
      fallbackPref: browser.preferences.moreFromMozilla
      description: Should users see the new more from Mozilla section.
    template:
      type: string
      fallbackPref: browser.preferences.moreFromMozilla.template
      description: UI template used to display Mozilla products. Possible values simple, advanced. Default is simple.

windowsLaunchOnLogin:
  description: "New checkbox in about:preferences startup section to start Firefox on Windows login"
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent once per browsing session when the about:preferences URL is
    first accessed.
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.startup.windowsLaunchOnLogin.enabled
      description: Should users see the Windows launch on login checkbox.

firefoxBridge:
  description: "Controls for Firefox Bridge extension and extension registration"
  owner: install-update@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.firefoxbridge.enabled
      description: >-
        Should Firefox Bridge be registered within firefoxBridgeNativeMessaging
        startup idle task for use with native messaging proxy.

abouthomecache:
  description: "The startup about:home cache."
  owner: omc-core@mozilla.com, mconley@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Is the feature enabled?
      setPref:
        branch: user
        pref: browser.startup.homepage.abouthome_cache.enabled

diskCache:
  description: "The HTTP disk cache."
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    diskCacheEnabled:
      type: boolean
      description: >-
        Whether the HTTP disk cache is enabled.
      setPref:
        branch: user
        pref: browser.cache.disk.enable
    diskCacheEncryptionEnabled:
      type: boolean
      description: >-
        Whether HTTP disk cache data is encrypted at rest with an in-memory key.
        Takes effect on restart.
      setPref:
        branch: user
        pref: browser.cache.disk.encryption.enabled

newtab:
  description: "The about:newtab page"
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent once per browsing session when the first newtab page loads
    (either about:newtab or about:home).
  isEarlyStartup: true
  variables:
    newTheme:
      type: boolean
      description: Enable the new theme
    customizationMenuEnabled:
      type: boolean
      fallbackPref: browser.newtabpage.activity-stream.customizationMenu.enabled
      description: Enable the customization panel inside of the newtab
    prefsButtonIcon:
      type: string
      description: Icon url to use for the preferences button
    topSitesContileEnabled:
      type: boolean
      fallbackPref: browser.topsites.contile.enabled
      description: Enable the Contile integration for Sponsored Top Sites
    topSitesUseAdditionalTilesFromContile:
      type: boolean
      description: Allow Contile to use additonal sponsored top sites

newtabAdSizingExperiment:
  description: >-
    Change the default ad size and UI for certain ad formats.
  owner: achurchwell@mozilla.com, sdowne@mozilla.com, mcrawford@mozilla.com
  hasExposure: false
  variables:
    leaderboard:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabAdSize.leaderboard
      description: >-
        Leaderboard ad size and UI.
    leaderboard_position:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabAdSize.leaderboard.position
      description: >-
        Leaderboard row position.
    billboard:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabAdSize.billboard
      description: >-
        Billboard ad size and UI.
    billboard_position:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabAdSize.billboard.position
      description: >-
        Billboard row position.
    medium_rectangle:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabAdSize.mediumRectangle
      description: >-
        Medium rectangle (MREC) ad size and UI.

newtabPromoCard:
  description: the promo card that appears next to the ad banner
  owner: achurchwell@mozilla.com
  hasExposure: false
  variables:
      enabled:
        type: boolean
        description: Turns on and off the promo card.
        setPref:
          branch: user
          pref: browser.newtabpage.activity-stream.discoverystream.promoCard.enabled

newtabAdsReporting:
  description: about:newtab reporting ads feature
  owner: rhamoui@mozilla.com
  hasExposure: false
  variables:
    reportAdsEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.reportAds.enabled
      description: >-
        Enable reporting for ads

newtabContextualContent:
  description: about:newtab contextual content feed
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    contextualContentEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.contextualContent.enabled
      description: >-
        Override the contextual content enabled value set via region/locale
    localeContextualContentConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.contextualContent.locale-content-config
      description: >-
        A comma-separated list of locales that get contextual content by default.
    regionContextualContentConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.contextualContent.region-content-config
      description: >-
        A comma-separated list of regions that get contextual content by default.
    contextualContentFeeds:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.contextualContent.feeds
      description: >-
        CSV list of possible feeds for the contextual content feed
    contextualContentSelectedFeed:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.contextualContent.selectedFeed
      description: >-
        currently selected feed to display in the Contextual Content component

newtabCustomWallpaper:
  description: >-
    Modify the wallpaper selection feature to support user-uploaded custom wallpaper images
  owner: mcrawford@mozilla.com
  hasExposure: false
  variables:
    uploadWallpaper:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.enabled
      description: >-
        Turns on and off ability to upload a custom wallpaper.
    colorPicker:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.customColor.enabled
      description: >-
        Turns on and off background color picker.
    maxFileSizeEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.fileSize.enabled
      description: >-
        Turns on and off maximum file size for uploaded images
    maxFileSize:
      type: int
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.fileSize
      description: >-
        Maximum file size (in MB) a user can upload

newtabInlineTopicSelection:
  description: >-
      Adds Inline topic selection to sections layout
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    TopicSelectionEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.interestPicker.enabled
      description: >-
        Enables inline topic selection

newtabMarsOhttp:
  description: Sending request to MARS over OHTTP in newtab
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.ohttp.enabled
      description: >-
        Enables using OHTTP for unified ads API requests

newtabMerinoOhttp:
  description: Sending request to merino over OHTTP in newtab
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.merino-provider.ohttp.enabled
      description: >-
        Enables using OHTTP for merino content requests

newtabOhttpImages:
  description: Sending request to MARS over OHTTP in newtab
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: >-
        Enables using OHTTP for images
    includeTopStoriesSection:
      type: boolean
      description: >-
        Enables using OHTTP for top stories section if enabled for images

newtabMobileDownloadPromotion:
  description: Cross-sell promotion to download Firefox for mobile
  owner: mcrawford@mozilla.com
  hasExposure: false
  variables:
    showModal:
      type: boolean
      description: Display mobile download modal to users until dismissed
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.mobileDownloadModal.enabled
    variantA:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.mobileDownloadModal.variant-a
      description: >-
        Variant A modal message and QR code.
    variantB:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.mobileDownloadModal.variant-b
      description: >-
        Variant B modal message and QR code.
    variantC:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.mobileDownloadModal.variant-c
      description: >-
        Variant C modal message and QR code.

newtabPrivatePing:
  description: The newtab-content ping, sent through OHTTP
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    privatePingEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.telemetry.privatePing.enabled
      description: >-
        Enables the private newtab-content ping sent through OHTTP
    redactNewtabPing:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.telemetry.privatePing.redactNewtabPing.enabled
      description: >-
        Provides an option to redact content ids of users from click, impression and related events in the NewTab ping. Should be enabled when data colection has shefted to the more private NewTab_content ping.
    includeInferredInterests:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.telemetry.privatePing.inferredInterests.enabled
      description: >-
        Includes a differentially private intrest vector of general topical interests based on New Tab clicks. Only sent when user has enabled personalization.
    maxSubmissionDelayMs:
      type: int
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.telemetry.privatePing.maxSubmissionDelayMs
      description: >-
        The maximum range for the random delay from scheduling the newtab-content ping to actually sending it. The minimum is 1000 by default. This is in milliseconds.
newtabPublisherFavicons:
  description: Enabled publihser favicons on cards in newtab
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.publisherFavicon.enabled
      description: Enables publisher favicons on cards in newtab

newTabSectionsExperiment:
  description: about:newtab section UI update
  owner: nbarrett@mozilla.com, mcrawford@mozilla.com
  hasExposure: false
  variables:
    sectionsEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.sections.enabled
      description: >-
        Enable the Section UI for recommended stories on newtab
    cardRefreshEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.sections.cards.enabled
      description: >-
        Enable the revised pocket story card UI in recommended stories on newtab
    regionPersonalizationInferredConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.personalization.inferred.region-config
      description: >-
        A comma-separated list of regions that use inferred personalization.
    localePersonalizationInferredConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.personalization.inferred.locale-config
      description: >-
        A comma-separated list of locales that use inferred personalization.
    personalizationInferredEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.sections.personalization.inferred.enabled
      description: >-
        Enable the inferred personalization for topics
    localeSectionstConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.locale-content-config
      description: >-
        A comma-separated list of locales that get contextual content by default.
    regionSectionsConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.region-content-config
      description: >-
        A comma-separated list of regions that get contextual content by default.
    sectionsPersonalization:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.personalization.enabled
      description: >-
        Enable personalized sections layout. Allow users to follow/unfollow topic sections.
    sectionsCustomizeMenuPanel:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.customizeMenuPanel.enabled
      description: >-
        Enable personalized sections menu panel. Allow users to follow/unfollow topic sections.
    sectionsContextualAdsEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.contextualAds.enabled
      description: >-
        Enable contextual ads in sections.
    regionSectionsContextualAdsConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.contextualAds.region-config
      description: >-
        A comma-separated list of regions that get contextual ads by default.
    localeSectionsContextualAdsConfig:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.sections.contextualAds.locale-config
      description: >-
        A comma-separated list of locales that get contextual ads by default.
    contextualSpocPlacements:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.contextualSpocs
      description: CSV string of spoc placement ids on newtab Pocket grid. A placement id tells our ad server where the ads are intended to be displayed.
    contextualSpocCounts:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.contextualSpocs.counts
      description: CSV string of spoc placement counts on newtab Pocket grid. The count tells the ad server how many ads to return for this position and placement.
    contextualBannerPlacements:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.contextualBanners
      description: CSV string of the banner placement ids on newtab Pocket grid. This placement id tells us which banner is visible when contexual ads are on.
    contextualBannerCounts:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.contextualBanners.counts
      description: CSV string of AdBanner placement counts on newtab Pocket grid. The count tells the ad server how many banners to return for this position and placement.

newtabInferredPersonalization:
  description: about:newtab inferred content personalization settings
  owner: rrando@mozilla.com
  hasExposure: false
  variables:
    iv_refresh_frequency_hours:
      type: int
      description: >-
        Time to refresh interest vector in hours
    history_cull_days:
      type: int
      description: >-
        Number of days local inferred feature history to preserve
    normalized_time_zone_offset:
      type: boolean
      description: >-
        Include normalized (limited to common values) time zone offset in telemetry and requests
    local_popular_today_rerank:
      type: boolean
      description: >-
        Whether to rerank popular today section using local interest vector
    local_inferred_weight:
      type: int
      description: >-
        Relative rank of the local inferred model, will be normalized by 100
    server_inferred_weight:
      type: int
      description: >-
        Relative rank of merino scores, will be normalized by 100

newtabSmartShortcuts:
  description: about:newtab personalized shortcuts
  owner: rhamoui@mozilla.com, sdowne@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: >-
        Enable personalized shortcuts
    force_log:
      type: boolean
      description: >-
        Enable logging of shortcut interactions independent of ranking
    over_sample_multiplier:
      type: int
      description: >-
        Controls how many multiples of the frecent we sample before reranking
    positive_prior:
      type: int
      description: >-
        Alpha in shortcut thompson sampling, exploit faster
    negative_prior:
      type: int
      description: >-
        Beta in shortcut thompson sampling, explore longer
    thom_weight:
      type: int
      description: >-
        Percentage weight of thompson sampling
    frec_weight:
      type: int
      description: >-
        Percentage weight of frecency
    hour_weight:
      type: int
      description: >-
        Percentage weight of hourly seasonality
    daily_weight:
      type: int
      description: >-
        Percentage weight of daily seasonality
    bmark_weight:
      type: int
      description: >-
        Percentage weight of is_bookmark
    rece_weight:
      type: int
      description: >-
        Percentage weight of recency
    freq_weight:
      type: int
      description: >-
        Percentage weight of frequency
    refre_weight:
      type: int
      description: >-
        Percentage weight of redone frecency
    bias_weight:
      type: int
      description: >-
        Percentage weight for bias for computing final ranking
    fset:
      type: int
      description: >-
        Key for smartshortcuts feature set
    eta:
      type: int
      description: >-
        Learning rate for shortcut ranking weights, will divide by 10000
    click_bonus:
      type: int
      description: >-
        bonus multiplier for clicks, will divide by 10

newtabSpocsCache:
  description: The about:newtab sponsored content cache.
  owner: sdowne@mozilla.com
  hasExposure: false
  variables:
    spocsCacheTimeout:
      type: int
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.spocs.cacheTimeout
      description: >-
        Set sponsored content cache timeout in minutes.
    spocsStartupCache:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.spocs.startupCache.enabled
      description: >-
        Controls if spocs should be included in startup cache.

newtabSponsoredContent:
  description: >-
    Change and control the sponsored content on newtab.
  owner: sdowne@mozilla.com
  hasExposure: false
  variables:
    spocPositions:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.spoc-positions
      description: CSV string of spoc position indexes on newtab Pocket grid
    spocPlacements:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.spocs
      description: CSV string of spoc placement ids on newtab Pocket grid. A placement id tells our ad server where the ads are intended to be displayed.
    spocCounts:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.spocs.counts
      description: CSV string of spoc placement counts on newtab Pocket grid. The count tells the ad server how many ads to return for this position and placement.
    tilesPlacements:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.tiles
      description: CSV string of tiles placement ids on newtab tiles section. A placement id tells our ad server where the ads are intended to be displayed.
    tilesCounts:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.placements.tiles.counts
      description: CSV string of tiles placement counts on newtab tiles section. The count tells the ad server how many ads to return for this position and placement.

adsBackend:
  description: Flags to affect ads backend behavior
  owner: efixler@mozilla.com
  hasExposure: false
  allowCoenrollment: true
  variables:
    flags:
      type: json
      description: JSON object of flag names and values to send to the ads backend

newtabTrainhop:
  description: Experiment feature for the train-hopping newtab extension.
  owner: mconley@mozilla.com
  hasExposure: false
  allowCoenrollment: true
  variables:
    type:
      type: string
      description: A discriminant to tell different kinds of trainhop experiments apart.
    payload:
      type: json
      description: The experiment configuration.

newtabTrainhopAddon:
  description: Enable download updated newtab resources packaged as an xpi
  owner: mconley@mozilla.com
  hasExposure: true
  exposureDescription: |
    Exposure is sent when the trainhop addon version is in use (starting from the browser startup
    right after it has been downloaded and installed).
  variables:
    xpi_download_path:
      type: string
      description: |
        Provide the path (relative to the base URL set in the `browser.newtabpage.trainhopAddon.xpiBaseURL`
        about:config pref) from which the xpi should be downloaded.
    addon_version:
      type: string
      description: |
        Expected addon version (installing the xpi is cancelled if it mismatches the one set here).
        The trainhop add-on version is also stored in an about:config pref, to be used on early
        application startup to determine if the trainhop add-on version should be uninstalled
        (and not be used for the newtab resources mapping to safely uninstall it later in the
        same application session).
      setPref:
        branch: user
        pref: browser.newtabpage.trainhopAddon.version

newtabTrainhopFirstStartup:
  description: |
    Controls startup behaviours if and when a train-hop is available for a
    fresh install.
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: |
        True if New Tab should attempt to download, install and enable
        train-hopped newtab XPIs for the first profile of new installs on
        Windows. This is true by default, but can be set to false to disable.

newtabTopicSelection:
  description: the about:newtab topic selection experience.
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    availableTopics:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicSelection.topics
      description: >-
        List of available topics to select for topic selection
    suggestedTopics:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicSelection.suggestedTopics
      description: >-
        List of pre-selected topics to display on first run of topic selection modal
    topicSelectionOnboarding:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicSelection.onboarding.enabled
      description: >-
        Turns on and off topic selection onbaording
    regionTopicsConfig:
      description: A comma-separated list of regions that get topics selection by default.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicSelection.region-topics-config
    localeTopicsConfig:
      description: A comma-separated list of locales that get topics selection by default.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicSelection.locale-topics-config
    regionTopicLabelConfig:
      description: A comma-separated list of regions that get topic labels by default.
      type: string
      setPref:
        branch: user
        pref:  browser.newtabpage.activity-stream.discoverystream.topicLabels.region-topic-label-config
    localeTopicLabelConfig:
      description: A comma-separated list of locales that get topic Labels by default.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.topicLabels.locale-topic-label-config

newtabUnifiedAds:
  description: Mozilla Ad Routing Service (MARS) unified ads service
  owner: mcrawford@mozilla.com, sdowne@mozilla.com
  hasExposure: false
  variables:
    unifiedAdsEndpoint:
      description: The URL for the MARS API endpoint.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.endpoint
    unifiedAdsSpocsEnabled:
      type: boolean
      description: >-
          Enable MARS endpoint to serve ads for recommended stories
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.spocs.enabled
    unifiedAdsTilesEnabled:
      type: boolean
      description: >-
          Enable MARS endpoint to serve content for top sites tiles
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.tiles.enabled
    unifiedAdsFeedEnabled:
      type: boolean
      description: >-
          Enable AdsFeed to manage all ads request/serving logic
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.adsFeed.enabled
    unifiedAdsFeedTilesEnabled:
      type: boolean
      description: >-
          Enable AdsFeed to query MARS server to fetch/serve top sites tiles
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.unifiedAds.adsFeed.tiles.enabled

newtabWidgets:
  description: about:newtab widgets feature
  owner: mcrawford@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: >-
        Enable all widgets
    listsEnabled:
      type: boolean
      description: >-
        Enable Lists widget
    timerEnabled:
      type: boolean
      description: >-
        Enable Focus Timer widget
    clocksEnabled:
      type: boolean
      description: >-
        Enable Clocks widget
    sportsWidgetEnabled:
      type: boolean
      description: >-
        Enable Sports widget
    listsBadgeEnabled:
      type: boolean
      description: >-
        Show badge on Lists widget to indicate new/beta feature
    listsBadgeLabel:
      type: string
      description: >-
        Label type for Lists widget badge (New or Beta)

pocketNewtab:
  description: The Pocket section in newtab
  owner: sdowne@mozilla.com
  hasExposure: false
  isEarlyStartup: true
  variables:
    contileTopsitesPositions:
      type: string
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.contile-topsites-positions
      description: CSV string of contile position indexes on newtab topsites section
    spocAdTypes:
      type: string
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.spocAdTypes
      description: CSV string of data to set the spoc content.
    spocZoneIds:
      type: string
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.spocZoneIds
      description: CSV string of data to set the spoc content.
    spocSiteId:
      type: string
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.spocSiteId
      description: String ID to set the spoc content.
    widgetPositions:
      type: string
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.widget-positions
      description: CSV string of widget position indexes on newtab grid
    hybridLayout:
      type: boolean
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.hybridLayout.enabled
      description: Enable compact cards on newtab grid only for specific breakpoints
    hideCardBackground:
      type: boolean
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.hideCardBackground.enabled
      description: Removes Pocket card background and borders.
    fourCardLayout:
      type: boolean
      fallbackPref: browser.newtabpage.activity-stream.discoverystream.fourCardLayout.enabled
      description: Enable four Pocket cards per row.
    newFooterSection:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.newFooterSection.enabled
      description: Enable an updated Pocket section topics footer
    hideDescriptions:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.hideDescriptions.enabled
      description: >-
        Hide or display descriptions for Pocket stories on newtab.
    hideDescriptionsRegions:
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.hideDescriptionsRegions
      description: >-
        CSV string of regions that hide descriptions for Pocket stories on newtab.
    compactGrid:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.compactGrid.enabled
      description: >-
        Reduce the number of pixels between the Pocket cards on newtab.
    compactImages:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.compactImages.enabled
      description: >-
        Reduce the height on Pocket card images on newtab.
    imageGradient:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.imageGradient.enabled
      description: >-
        Add a gradient to the bottom of Pocket card images on newtab to blend the
        image in with the card.
    titleLines:
      type: int
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.titleLines
      description: >-
        Changes the maximum number of lines a title can be for Pocket cards on newtab.
    descLines:
      type: int
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.descLines
      description: >-
        Changes the maximum number of lines a description can be for Pocket cards on newtab.
    readTime:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.readTime.enabled
      description: >-
        Displays an estimated read time for Pocket cards on newtab.
    newSponsoredLabel:
      type: boolean
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.newSponsoredLabel.enabled
      description: >-
        Updates the sponsored label position to below the image for Pocket cards on newtab.
    wallpapers:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.enabled
      description: >-
        Turns on and off wallpaper support.
    wallpapersHighlightEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.highlightEnabled
      description: >-
        Turns on and off wallpaper feature highlight.
    wallpaperHighlightHeaderText:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.highlightHeaderText
      description: >-
        Changes the wallpaper feature highlight header
    wallpaperHighlightContentText:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.highlightContentText
      description: >-
        Changes the wallpaper feature highlight content
    wallpaperHighlightCtaText:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.highlightCtaText
      description: >-
        Changes the wallpaper feature highlight cta
    currentWallpaper:
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.newtabWallpapers.wallpaper
      description:  >-
        Changes the currently selected wallpaper
    weatherLocationSearch:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.weather.locationSearchEnabled
      description: >-
        Turns on and off location search for newtab weather widget
    spocsEndpoint:
      description: The URL for the spocs endpoint.
      type: string
      setPref:
        branch: user
        pref: "browser.newtabpage.activity-stream.discoverystream.spocs-endpoint"
    spocsEndpointAllowlist:
      description: Comma separated list of allowed endpoints for fetching spocs
      type: string
      setPref:
        branch: user
        pref: "browser.newtabpage.activity-stream.discoverystream.endpoints"
    spocsClearEndpoint:
      description: URL for deleting any server data when a user opts out of sponsored content
      type: string
      setPref:
        branch: user
        pref: "browser.newtabpage.activity-stream.discoverystream.endpointSpocsClear"
    ctaButtonSponsors:
      description: A CSV list of sponsors that should use a button CTA.
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.ctaButtonSponsors
    ctaButtonVariant:
      description: Specifies which variant to use for any sponsors in ctaButtonSponsors
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.ctaButtonVariant
    regionStoriesConfig:
      description: A comma-separated list of region to get stories for.
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.region-stories-config
    merinoProviderEndpoint:
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.merino-provider.endpoint
      description: Merino endpoint to use for recommendations.
    regionStoriesBlock:
      description: A comma-separated list of regions that do not get stories, regardless of locale-list-config.
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.region-stories-block
    localeListConfig:
      description: A comma-separated list of locales that get stories, regardless of region-stories-config.
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.locale-list-config
    regionSpocsConfig:
      description: A comma-separated list of regions that get spocs by default.
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.region-spocs-config
    regionWeatherConfig:
      description: A comma-separated list of regions that get weather by default.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.region-weather-config
    localeWeatherConfig:
      description: A comma-separated list of locales that weather widget supports.
      type: string
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.locale-weather-config
    topSitesMaxSponsored:
      # Defined under `pocketNewtab` as it needs to be used along with other variables
      type: int
      description: The maximum number of sponsored Top Sites to be displayed
    topSitesContileMaxSponsored:
      # Defined under `pocketNewtab` as it needs to be used along with other variables
      type: int
      description: The maximum number of sponsored Top Sites used from Contile
    pocketFeedParameters:
      type: string
      fallbackPref: >-
        browser.newtabpage.activity-stream.discoverystream.pocket-feed-parameters
      description: >-
        Add parameters to Pocket feed URL.
    merinoFeedExperiment:
      type: boolean
      setPref:
        branch: user
        pref: browser.newtabpage.activity-stream.discoverystream.merino-feed-experiment
      description: >-
        Should we pass the experiment branch and slug to the Merino feed request.

sessionRestore:
  description: Session restore feature
  owner: sfoster@mozilla.com
  hasExposure: false
  variables:
    startupBehavior:
      type: int
      setPref:
        branch: user
        pref: browser.startup.page
      description: |
        Should we resume the previous session? Startup behavior is a choice of 4 possible values:
        0 = open a blank tab,
        1 = open the configured homepage in a tab (default, session restore disabled),
        2 = open last visited page in a tab,
        3 = re-open previous windows and tabs (session restore enabled)

sessionRestoreNewTab:
  description: Open a new tab after session restore on startup
  owner: hsohaney@mozilla.com
  hasExposure: true
  exposureDescription: >
    Recorded when a setting-based session restore occurs at startup,
    regardless of whether the new tab feature is enabled.
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.sessionstore.newTabOnRestore
      description: Whether to open a new tab after session restore on startup.
    showSetting:
      type: boolean
      setPref:
        branch: default
        pref: browser.sessionstore.newTabOnRestore.showSetting
      description: Whether to show the new-tab-on-restore checkbox in about:preferences.

screenshots:
  description: The built-in Screenshots feature
  owner: sfoster@mozilla.com
  hasExposure: false
  variables:
    buttonOnToolbarByDefault:
      type: boolean
      description: The screenshots button will be placed on the toolbar by default.

password-autocomplete:
  description: A special autocomplete UI for password fields.
  owner: sgalich@mozilla.com
  hasExposure: false
  variables:
    directMigrateSingleProfile:
      type: boolean
      description: Enable direct migration?


# This feature flag mirrors the one used for ios
# https://github.com/mozilla-mobile/firefox-ios/blob/main/nimbus-features/addressAutofillFeature.yaml
address-autofill-feature:
  description: Enabling address autofill feature
  owner: issozi@mozilla.com
  hasExposure: true
  exposureDescription: "Exposure is sent when an address is autofilled."
  variables:
    status:
      type: boolean
      setPref:
        branch: default
        pref: extensions.formautofill.addresses.experiments.enabled
      description: If true, we will allow user to use address autofill

creditcards-autofill-enabled:
  description: Credit card autofill is enabled in all regions
  owner: issozi@mozilla.com
  hasExposure: false
  variables:
   creditcardsSupported:
      description: Enable credit card autofill in all regions
      type: string
      setPref:
        branch: default
        pref: extensions.formautofill.creditCards.supported

shellService:
  description: "Interface with OS, e.g., pinning and set default"
  owner: desktop-integrations@mozilla.com
  hasExposure: false
  variables:
    disablePin:
      type: boolean
      description: Disable pin to taskbar feature
    disableStartMenuPin:
      type: boolean
      setPref:
        branch: user
        pref: browser.shell.disableStartMenuPin
      description: Disable pin to start menu feature
    setDefaultBrowserUserChoice:
      type: boolean
      setPref:
        branch: user
        pref: browser.shell.setDefaultBrowserUserChoice
      description: Should it set as default browser
    setDefaultBrowserUserChoiceRegRename:
      type: boolean
      setPref:
        branch: user
        pref: browser.shell.setDefaultBrowserUserChoice.regRename
      description: When setting default via UserChoice, rename the underlying registry key to prevent kennel driver registry locking.
    setDefaultPDFHandler:
      type: boolean
      fallbackPref: browser.shell.setDefaultPDFHandler
      description: Should setting it as the default browser set it as the default PDF handler.
    setDefaultPDFHandlerOnlyReplaceBrowsers:
      type: boolean
      fallbackPref: browser.shell.setDefaultPDFHandler.onlyReplaceBrowsers
      description: >-
        Should setting it as the default PDF handler only replace existing PDF
        handlers that are browsers, and not other PDF handlers such as Acrobat
        Reader or Nitro PDF.
    setDefaultGuidanceNotifications:
      type: boolean
      fallbackPref: browser.shell.setDefaultGuidanceNotifications
      description: Whether or not the user should see the guidance notifications when setting Firefox as their default browser.
    focusSetDefaultBrowserButton:
      description: Focus the set default browser button in Windows Settings.
      setPref:
        branch: user
        pref: browser.shell.focusSetDefaultBrowserButton
      type: boolean
upgradeDialog:
  description: The dialog shown for major upgrades
  owner: omc-core@mozilla.com
  hasExposure: false
  isEarlyStartup: true
  variables:
    enabled:
      type: boolean
      fallbackPref: browser.startup.upgradeDialog.enabled
      description: Is the feature enabled?

cfr:
  description: "A Firefox Messaging System message for the cfr message channel"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

"moments-page":
  description: "A Firefox Messaging System message for the moments-page message channel"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

infobar:
  description: "A Firefox Messaging system message for the infobar message channel"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

spotlight:
  description: "A Firefox Messaging System message for the spotlight message channel"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

# Before 117, this feature only included one variable, pdfJsTourProgress. So,
# the minimum version for messaging experiments using this feature ID is 117.
featureCallout:
  description: "A Firefox Messaging System message for the Feature Callout message channel"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

privacySecurityMessaging:
  description: Supports experimental messaging related to privacy and security.
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent when a milestone doorhanger message is seen or when the
    milestone section of the protections popup is seen.
  variables:
    blockingMilestoneMessagingEnabled:
      type: boolean
      setPref:
        branch: user
        pref:  browser.contentblocking.cfr-milestone.enabled
      description: >-
        Enable messaging related to content blocking milestones. Setting to
        false disables both the milestone doorhanger and the milestone section
        of the protections popup.
    blockingMilestones:
      type: string
      setPref:
        branch: user
        pref: browser.contentblocking.cfr-milestone.milestones
      description: >-
        A JSON array of milestones to trigger messaging for. Milestones are
        defined as the number of times a user has had tracking content blocked,
        e.g., [1000, 5000, 10000...]. See the pref for default values. The list
        should typically have 7 entries, because the built-in milestone messages
        are allowed to show 7 times. If you want more or fewer milestones, you
        should override the milestone messages by also including a messaging
        feature in your experiment, so you can include a replacement message
        with a frequency cap matching the number of milestones. Use a feature
        like fxms-message-* to do that.
    blockingMilestoneUpdateInterval:
      type: int
      setPref:
        branch: user
        pref: browser.contentblocking.cfr-milestone.update-interval
      description: >-
        How often (in milliseconds) we check if the user is eligible for seeing
        a milestone doorhanger. 24 hours by default.

fullPageTranslation:
  description: This feature opens a popup panel to offer to translate a page.
  owner: gtatum@mozilla.com
  hasExposure: false
  variables:
    boolean:
      description: Set to true to enable the translations feature
      type: boolean
      setPref:
        branch: user
        pref: browser.translations.enable

fullPageTranslationAutomaticPopup:
  description: Controls whether the popup automatically shows for translations.
  owner: gtatum@mozilla.com
  hasExposure: false
  variables:
    boolean:
      description: Set to true to automatically popup, and false to only show the button.
      type: boolean
      setPref:
        branch: user
        pref: browser.translations.automaticallyPopup

selectTranslation:
  description: This feature enables the option to translate selected text from the context menu.
  owner: enordin@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Set to true to enable the select-translations feature
      type: boolean
      setPref:
        branch: user
        pref: browser.translations.select.enable

translationsQuickAction:
  description: This feature enables the translations quick action in the URL bar.
  owner: enordin@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Set to true to enable the translations quick action feature.
      type: boolean
      setPref:
        branch: user
        pref: browser.translations.quickAction.enabled

pdfjs:
  description: The Firefox pdf reader.
  owner: pdfjs-team@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent each time a pdf is displayed.
  variables:
    enableAltText:
      description: Set to true to enable alt text generation.
      type: boolean
      setPref:
        branch: default
        pref: pdfjs.enableAltText
    enableUpdatedAddImage:
      description: Set to true to enable updated add image with alt text flow.
      type: boolean
      setPref:
        branch: default
        pref: pdfjs.enableUpdatedAddImage
    browserMlEnable:
      description: Set to true to enable local inference engine
      type: boolean
      setPref:
        branch: default
        pref: browser.ml.enable
    enableSignatureEditor:
      description: Set to true to enable the signature editor
      type: boolean
      setPref:
        branch: default
        pref: pdfjs.enableSignatureEditor

fxms-message:
  description: A messaging channel that supports multiple simultaneous enrollments
  owner: omc@mozilla.com
  allowCoenrollment: true
  hasExposure: true
  exposureDescription: >-
    "Exposure is sent if the message is about to be shown after trigger and targeting conditions on the message matched."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

# fxms-message-* placeholder feature ids
#
# https://docs.google.com/spreadsheets/d/119YbeKStLL0Fg2QkK-yN93mrtD1rlneGZGTl_jAwtyw/edit#gid=1903378504
# has info on using these placeholder feature ids, as well as (very short) instructions on
# checking to see if we need more (which we do once per Nightly) and how to add them.
#
# Instructions for adding a new fxms-message-* placeholder feature id
# 1) clone an existing one here
# 2) update the YAML feature id to the next unused number
# 3) update the YAML description; include what versions can be targeted on this feature ID
# 4) add the new feature id to MESSAGING_EXPERIMENTS_DEFAULT_FEATURES list in MessagingExperimentConstants.sys.mjs
# 5) add a new corresponding reach metric to /toolkit/components/messaging-system/metrics.yaml
# 6) add the new feature id to the `messaging_experiments` > `reach` > `objects` list in /toolkit/telemetry/Events.yaml
# 7) add the new feature id and the version it landed in to the spreadsheet tab linked to above

fxms-message-1:
  description: "A Firefox Messaging System message"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-2:
  description: "Firefox Messaging System message 2"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-3:
  description: "Firefox Messaging System message 3"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-4:
  description: "Firefox Messaging System message 4"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-5:
  description: "Firefox Messaging System message 5"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-6:
  description: "Firefox Messaging System message 6"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-7:
  description: "Firefox Messaging System message 7"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-8:
  description: "Firefox Messaging System message 8"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-9:
  description: "Firefox Messaging System message 9"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-10:
  description: "Firefox Messaging System message 10"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-11:
  description: "Firefox Messaging System message 11"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-12:
  description: "Firefox Messaging System message 12 - ONLY for Fx140+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-13:
  description: "Firefox Messaging System message 13 - ONLY for Fx140+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-14:
  description: "Firefox Messaging System message 14 - ONLY for Fx140+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-15:
  description: "Firefox Messaging System message 15 - ONLY for Fx140+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-16:
  description: "Firefox Messaging System message 16 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-17:
  description: "Firefox Messaging System message 17 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-18:
  description: "Firefox Messaging System message 18 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-19:
  description: "Firefox Messaging System message 19 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-20:
  description: "Firefox Messaging System message 20 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-21:
  description: "Firefox Messaging System message 21 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-22:
  description: "Firefox Messaging System message 22 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-23:
  description: "Firefox Messaging System message 23 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-24:
  description: "Firefox Messaging System message 24 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

fxms-message-25:
  description: "Firefox Messaging System message 25 - ONLY for Fx144+ targeting"
  owner: omc-core@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."
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    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-core@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
    minVersion:
      description: Minimum Firefox update version
      type: string
      setPref:
        branch: user
        pref: startup.homepage_override_nimbus_minVersion
    disableWNP:
      description: >-
        Block all What's New Pages. Used to compare no-WNP control branches to
        WNP treatment branches.
      type: boolean
      setPref:
        branch: user
        pref: startup.homepage_override_nimbus_disable_wnp

pbNewtab:
  description: "A Firefox Messaging System message for the pbNewtab message channel"
  owner: omc-core@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.
  schema:
    uri: "chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json"
  variables: {}

backgroundTaskMessage:
  description: "A Firefox Messaging System message for the background task message channel"
  owner: nalexander@mozilla.com
  applications:
    - firefox-desktop-background-task
  hasExposure: true
  exposureDescription: >-
    Exposure is sent if the message is about to be shown after trigger and targeting conditions on the message matched.
  schema:
    uri: "chrome://browser/content/asrouter/schemas/BackgroundTaskMessagingExperiment.schema.json"
    path: "browser/components/asrouter/content-src/schemas/BackgroundTaskMessagingExperiment.schema.json"
  variables: {}

backgroundUpdateAutomaticRestart:
  description: "Whether to automatically restart when the background update task could make more progress."
  owner: nalexander@mozilla.com
  applications:
    - firefox-desktop-background-task
  hasExposure: false
  variables:
    enabled:
      type: boolean
      fallbackPref: app.update.background.automaticRestartEnabled
      description: >-
        When true, make the background update task restart when the final update state is `READY_FOR_RESTART`.
        Generally, this will finish applying a staged update, completing the update earlier than it
        otherwise would have been completed.

backgroundUpdateCheckPolicy:
  description: >-
    Control when to 'allow' and when to 'throttle' the background update task so
    that the task runs but does not necessarily check for updates.  The check
    policy allows to tell the background update task to not check for, download,
    and apply, updates in certain situations, thereby reducing update-related
    operational costs.  It also allows to limit the number of actions taken in
    any given interval, thereby reducing user resource usage and Nimbus-related
    operational costs.
  owner: install-update@mozilla.com
  applications:
    - firefox-desktop-background-task
  hasExposure: false
  variables:
    throttleEnabled:
      type: boolean
      fallbackPref: app.update.background.checkPolicy.throttleEnabled
      description: >-
        When true, the background update task will 'throttle' itself and not
        necessarily check for updates.
    throttleAfterDays:
      type: int
      fallbackPref: app.update.background.checkPolicy.throttleAfterDays
      description: >-
        When greater than or equal to 0, the number of consecutive days that the
        background update task will run and check for updates when the task has
        not witnessed a Firefox browsing profile running.  N.b.: when 0, this
        will disable the background update task checking for updates entirely.
    throttleDebouncePeriodInHours:
      type: int
      fallbackPref: app.update.background.checkPolicy.throttleDebouncePeriodInHours
      description: >-
        When greater than 0, limit the background update task, when it is
        throttled, from taking any action at all to at most one (1) time in
        every "period" hours.  That is, if `throttledDebouncePeriodInHours=24`
        and the background update task executes at time `t0`, then the
        background update task will exit without further action every invocation
        at time `t1 < t0 + 24 hours`.

pictureinpicture:
  description: Message for first time Picture-in-Picture users
  owner: nbaumgardner@mozilla.com
  hasExposure: true
  exposureDescription: Exposure is sent when a user hovers over a video and Picture-in-Picture has not been used before
  variables:
    title:
      type: string
      description: The title to be used for the PiP toggle
    message:
      type: string
      description: The message to be used in the PiP toggle
    showIconOnly:
      type: boolean
      description: Whether to show the first time PiP toggle or show the PiP icon only
    oldToggle:
      type: boolean
      description: Whether to show the control style (true) or variant style (false) for the first time PiP toggle
    displayDuration:
      type: int
      description: Duration of PiP first time toggle display in days before switching to PiP icon toggle

glean:
  description: "The Glean data-control-plane feature within Firefox Desktop for controlling metric configuration"
  owner: glean-team@mozilla.com
  applications:
    - firefox-desktop
    - firefox-desktop-background-task
  hasExposure: false
  allowCoenrollment: true
  variables:
    gleanMetricConfiguration:
      type: json
      description: |
        A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric.
        This variable is intended for interacting with the Glean data-control-plane via the Server Knobs functionality
        to remotely configure metrics to be enabled or disabled.

gleanInternalSdk:
  description: "The Glean internal SDK feature intended only for internal Glean Team use"
  owner: glean-team@mozilla.com
  applications:
    - firefox-desktop
    - firefox-desktop-background-task
  hasExposure: false
  variables:
    finalInactive:
      type: "boolean"
      description: "Enables FOG early shutdown pings when true"
      setPref:
        branch: user
        pref: telemetry.glean.internal.finalInactive
    gleanMetricConfiguration:
      type: json
      description: |
        A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric.
        This is not for public use! For data-control-plane use, please refer to the Glean documentation and use the
        `gleanMetricConfiguration` found in the `glean` feature for this.
    gleanMaxPingsPerMinute:
      type: int
      description: >-
        Maximum number of pings that can be sent in a 60 second interval
      setPref:
        branch: user
        pref: telemetry.glean.internal.maxPingsPerMinute

legacyTelemetry:
  description: "Controls for the Legacy Telemetry data collection system"
  owner: chutten@mozilla.com
  applications:
    - firefox-desktop
  hasExposure: false
  variables:
    disabledPings:
      type: json
      description: |
        A list of Legacy Telemetry pings to disable.
        Pings on this list will not be archived or uploaded.
        On submit their payloads will be dropped.
        Code that collects to and submits the ping will still operate as normal.
        Cannot be used to disable the "main", "first-shutdown", "new-profile",
        or "deletion-request" pings.
    disableMainPingScalars:
      type: boolean
      description: |
        If true, scalars will not be included in "main" pings.
        Exceptions are made for two important engagement measures:
        `browser.engagement.total_uri_count_normal_and_private_mode` and
        `browser.engagement.active_ticks`.
        These scalars will continue to be reported as normal, even if all
        others are disabled by this variable.
    disableMainPingHgrams:
      type: boolean
      description: |
        If true, histograms will not be included in "main" pings.
        Data will still be recorded locally,
        it will merely not be included in "main" pings when they are submitted.

browserLowMemoryPrefs:
  description: Prefs which control the browser's behaviour under low memory.
  owner: haftandilian@mozilla.com
  hasExposure: false
  variables:
    lowMemoryResponseMask:
      description: Control the response on macOS when under memory pressure.
      type: int
      setPref:
        branch: default
        pref: "browser.lowMemoryResponseMask"
    lowMemoryResponseOnWarn:
      description: Controls which macOS memory-pressure levels trigger the browser low memory response.
      type: boolean
      setPref:
        branch: default
        pref: "browser.lowMemoryResponseOnWarn"
    tabsUnloadOnLowMemory:
      description: Whether to unload tabs when available memory is running low.
      type: boolean
      setPref:
        branch: default
        pref: "browser.tabs.unloadOnLowMemory"

echPrefs:
  description: Prefs that control Encrypted Client Hello.
  owner: djackson@mozilla.com
  hasExposure: false
  variables:
    tlsEnabled:
      description: Whether to enable ECH for connections using TLS
      type: boolean
      setPref:
        branch: default
        pref: "network.dns.echconfig.enabled"
    h3Enabled:
      description: Whether to enable ECH for connections using H3/QUIC
      type: boolean
      setPref:
        branch: default
        pref: "network.dns.http3_echconfig.enabled"
    forceWaitHttpsRR:
      description: Whether to force waiting for HTTPS DNS records, which ECH requires.
      type: boolean
      setPref:
        branch: default
        pref: "network.dns.force_waiting_https_rr"
    insecureFallback:
      description: Whether to fallback to non-ECH connections if all ECH RRs fail.
      type: boolean
      setPref:
        branch: default
        pref: "network.dns.echconfig.fallback_to_origin_when_all_failed"
    tlsGreaseProb:
      description: Probability of GREASEing a TLS connection with ECH (0-100).
      type: int
      setPref:
        branch: default
        pref: "security.tls.ech.grease_probability"
    h3GreaseEnabled:
      description: Whether to apply GREASE settings to H3/QUIC connections.
      type: boolean
      setPref:
        branch: default
        pref: "security.tls.ech.grease_http3"
    disableGreaseOnFallback:
      description: Whether to disable GREASE when retrying a connection.
      type: boolean
      setPref:
        branch: default
        pref: "security.tls.ech.disable_grease_on_fallback"
    greasePaddingSize:
      description: Assumed echConfig padding length for GREASE extensions (1-255).
      type: int
      setPref:
        branch: default
        pref: "security.tls.ech.grease_size"

dohPrefs:
  description: Prefs that control DNS over HTTPS.
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    trrMode:
      description: Has a value of 2 for TRR first, 3 for TRR only, 0 for off.
      type: int
      setPref:
        branch: default
        pref: "network.trr.mode"
    trrUri:
      description: The URL of the DNS over HTTPS endpoint
      type: string
      setPref:
        branch: default
        pref: "network.trr.uri"
    dohMode:
      description: Same as trrMode, but set by the DoHController module.
      type: int
      setPref:
        branch: default
        pref: "doh-rollout.mode"
    dohUri:
      description: Same as trrUri, but set by the DoHController module.
      type: string
      setPref:
        branch: default
        pref: "doh-rollout.uri"
    dohProviderList:
      description: An override of the rollout provider-list json
      type: string
      setPref:
        branch: default
        pref: "doh-rollout.provider-list"
    dohProviderSteeringList:
      description: An override of the rollout steering provider-list json
      type: string
      setPref:
        branch: default
        pref: "doh-rollout.provider-steering.provider-list"
    nativeHTTPSRecords:
      description: Whether we can perform native DNS HTTPS lookups
      type: boolean
      setPref:
        branch: default
        pref: "network.dns.native_https_query"

dooh:
  description: "DNS over Oblivious HTTP"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    ohttpEnabled:
      description: Whether to use Oblivious HTTP for the resolution
      type: boolean
      setPref:
        branch: default
        pref: "network.trr.use_ohttp"
    ohttpRelayUri:
      description: The URL of the Oblivious HTTP relay
      type: string
      setPref:
        branch: default
        pref: "network.trr.ohttp.relay_uri"
    ohttpConfigUri:
      description: The URL used to fetch the configuration of the Oblivious HTTP gateway
      type: string
      setPref:
        branch: default
        pref: "network.trr.ohttp.config_uri"
    ohttpUri:
      description: The URL of the Oblivious DNS over HTTPS target resource
      type: string
      setPref:
        branch: default
        pref: "network.trr.ohttp.uri"

networking:
  description: "Firefox Networking (Necko)"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    preconnect:
      description: Whether the rel=preconnect feature is enabled
      type: boolean
      setPref:
        branch: default
        pref: "network.preconnect"
    http3CCalgorithm:
      description: The congestion control algorithm with which to configure neqo. 0 for NewReno, 1 for Cubic
      type: int
      setPref:
        branch: default
        pref: "network.http.http3.cc_algorithm"
    http3SlowStartAlgorithm:
      description: The slow start algorithm with which to configure neqo. Use 0 for Classic, 1 for HyStart++, 2 for SEARCH.
      type: int
      setPref:
        branch: default
        pref: "network.http.http3.slow_start_algorithm"
    http3HyStartAlternativeCssBaseline:
      description: Whether the HyStart++ alternative CSS baseline value should be used. Has no effect if HyStart++ is not used.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.hystart_alternative_css_baseline"
    http3SpuriousRecovery:
      description: Whether Spurious Congestion Event Recovery is turned on.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.spurious_recovery"
    enableOffMainThreadStreamDecompression:
      description: Whether to enable decompression of network streams off-main-thread
      type: boolean
      setPref:
        branch: default
        pref: "network.decompression_off_mainthread2"
    offMainThreadStreamDecompressionThreshold:
      description: Minimum content length for off-main-thread decompression
      type: int
      setPref:
        branch: default
        pref: "network.decompression_off_mainthread_min_size"
    dnsGracePeriod:
      description: The grace period allows the DNS cache to use expired entries, while kicking off a revalidation in the background.
      type: int
      setPref:
        branch: default
        pref: "network.dnsCacheExpirationGracePeriod"
    http3UseNSPRForIO:
      description: true by default using legacy UDP IO via NSPR. When set to false, uses new UDP IO via Fast UDP for Firefox project.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.use_nspr_for_io"
    prefetchNext:
      description: Enables the prefetch service (i.e., prefetching of <link rel="next"> and <link rel="prefetch"> URLs).
      type: boolean
      setPref:
        branch: default
        pref: "network.prefetch-next"

networkingEarlyHints:
  description: "Networking (Necko) Early Hints"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    ehPreloadEnabled:
      description: Whether Early Hints preload is enabled
      type: boolean
      setPref:
        branch: default
        pref: "network.early-hints.enabled"
    ehPreconnectEnabled:
      description: Whether Early Hints preconnect is enabled
      type: boolean
      setPref:
        branch: default
        pref: "network.early-hints.preconnect.enabled"

networkingDNS:
  description: "Networking (Necko) DNS"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    dnsMaxPriorityThreads:
      description: The maximum number of high priority DNS threads that can be created.
      type: int
      setPref:
        branch: default
        pref: "network.dns.max_high_priority_threads"
    dnsMaxAnyPriorityThreads:
      description: The maximum number of DNS threads that can be created to handle any priority DNS requests.
      type: int
      setPref:
        branch: default
        pref: "network.dns.max_any_priority_threads"
    maxDnsCacheEntries:
      description: This is the number of dns cache entries allowed
      type: int
      setPref:
        branch: default
        pref: "network.dnsCacheEntries"

networkingConnections:
  description: "Networking (Necko) Connections"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    httpMaxConnections:
      description: The maximum number of http connections.
      type: int
      setPref:
        branch: default
        pref: "network.http.max-connections"
    httpMaxPersistentConnectionsPerServer:
      description: The maximum number of persistent connections to a server
      type: int
      setPref:
        branch: default
        pref: "network.http.max-persistent-connections-per-server"
    httpMaxUrgentStartExcessiveConnectionsPerHost:
      description: Number of connections that we can open beyond the standard parallelism limit defined by max-persistent-connections-per-server/-proxy to handle urgent-start marked requests.
      type: int
      setPref:
        branch: default
        pref: "network.http.max-urgent-start-excessive-connections-per-host"
    speculativeConnectionLimit:
      description: The maximum number of half-open sockets allowed for speculative connections
      type: int
      setPref:
        branch: default
        pref: "network.http.speculative-parallel-limit"
    happyEyeballsEnabled:
      description: Whether to enable the Happy Eyeballs v3 algorithm for connection establishment
      type: boolean
      setPref:
        branch: default
        pref: "network.http.happy_eyeballs_enabled"
    happyEyeballsResolutionDelay:
      description: Time in ms to wait after the first DNS response before starting connections
      type: int
      setPref:
        branch: default
        pref: "network.http.happy_eyeballs_resolution_delay"
    happyEyeballsConnectionAttemptDelay:
      description: Time in ms between successive connection attempts
      type: int
      setPref:
        branch: default
        pref: "network.http.happy_eyeballs_connection_attempt_delay"


networkingSendOnDataFinished:
  description: "Networking (Necko) OnDataFinished"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    sendOnDataFinished:
      description: Whether we can send OnDataFinished in the content process
      type: boolean
      setPref:
        branch: default
        pref: "network.send_OnDataFinished"
    sendOnDataFinishedFromInputStreamPump:
      description: Whether we can send OnDataFinished to the content process from InputStreamPump
      type: boolean
      setPref:
        branch: default
        pref: "network.send_OnDataFinished.nsInputStreamPump"
    sendOnDataFinishedToHtml5parser:
      description: Whether we can send OnDataFinished to the html5parser in content process
      type: boolean
      setPref:
        branch: default
        pref: "network.send_OnDataFinished.html5parser"
    sendOnDataFinishedToCssLoader:
      description: Whether we can send OnDataFinished to the cssLoader in content process
      type: boolean
      setPref:
        branch: default
        pref: "network.send_OnDataFinished.cssLoader"

networkingBannedPorts:
  description: "Networking (Necko) Banned Ports"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    bannedPortList:
      description: A comma-separated list of ports that Firefox will refuse to connect to. These ports will be appended to nsIOService gBadPortList
      type: string
      setPref:
        branch: default
        pref: "network.security.ports.banned"

localNetworkAccess:
  description: "Networking (Necko) Local Network Access prefs"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    enableLNAWithETPStrict:
      description: Whether to enable LNA restrictions in ETP Strict Mode
      type: boolean
      setPref:
        branch: default
        pref: "network.lna.etp.enabled"
    blockTrackers:
      description: Whether network requests triggered by third party scripts classified as trackers should be blocked when making a localhost request.
      type: boolean
      setPref:
        branch: default
        pref: "network.lna.block_trackers"
    lnaPromptsEnabled:
      description: Whether we should prompt users for permission whenever we detect local network access.
      type: boolean
      setPref:
        branch: default
        pref: "network.lna.blocking"
    lnaFeatureEnabled:
      description: Blanket flag to enable/disable LNA sub-features.
      type: boolean
      setPref:
        branch: default
        pref: "network.lna.enabled"

essentialFallbackDomains:
  description: "Whether to retry failing system requests with a backup domain"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    essentialDomainsEnabled:
      description: Whether to retry with a backup domain indicated in remote-settings
      type: boolean
      setPref:
        branch: default
        pref: "network.essential_domains_fallback"

disableHttp3:
  description: "Whether HTTP/3 is disabled"
  owner: kershaw@mozilla.com
  hasExposure: false
  variables:
    withThirdPartyRoots:
      description: If third party roots are detected, disable HTTP/3
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.disable_when_third_party_roots_found"


networkPrioritization:
  description: "Network request prioritization"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    priorityHeader:
      description: Whether to set the Priority header on each request.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.priority_header.enabled"
    fetchPriority:
      description: Whether fetch priority is enabled
      type: boolean
      setPref:
        branch: default
        pref: "network.fetchpriority.enabled"
    h3FetchPriority:
      description: Whether to send HTTP3 priority frames
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.priority"
    sendNoRFC7540Setting:
      description: Whether to send the SETTINGS_NO_RFC7540_PRIORITIES for the HTTP2 session.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http2.send_NO_RFC7540_PRI"
    h2deps:
      description: Whether RFC7540 priorities / stream dependencies are enabled
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http2.enabled.deps"
    h3BackgroundTabDeprioritization:
      description: Lowers the priority when the tab is in the background. Potential privacy concerns.
      type: boolean
      setPref:
        branch: default
        pref: "network.http.http3.send_background_tabs_deprioritization"
    documentPriorityIncremental:
      description: Sets the incremental flag on the Priority header for document requests
      type: boolean
      setPref:
        branch: default
        pref: "dom.document_priority.incremental"
    imagePriorityIncremental:
      description: Sets the incremental flag on the Priority header for image requests
      type: boolean
      setPref:
        branch: default
        pref: "image.priority.incremental"
    imageAdjustLayoutPriority:
      description: Whether the network request priority should be adjusted according the layout and view frame position of each particular image.
      type: boolean
      setPref:
        branch: default
        pref: "image.layout_network_priority"
    adjustLinkPreloadScriptLow:
      description: Priority adjustment low for link-preload-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-script.low"
    adjustLinkPreloadScriptHigh:
      description: Priority adjustment high for link-preload-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-script.high"
    adjustLinkPreloadScriptAuto:
      description: Priority adjustment auto for link-preload-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-script.auto"
    adjustModuleScriptLow:
      description: Priority adjustment low for module-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.module-script.low"
    adjustModuleScriptHigh:
      description: Priority adjustment high for module-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.module-script.high"
    adjustModuleScriptAuto:
      description: Priority adjustment auto for module-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.module-script.auto"
    adjustAsyncOrDeferScriptLow:
      description: Priority adjustment low for async-or-defer-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.async-or-defer-script.low"
    adjustAsyncOrDeferScriptHigh:
      description: Priority adjustment high for async-or-defer-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.async-or-defer-script.high"
    adjustAsyncOrDeferScriptAuto:
      description: Priority adjustment auto for async-or-defer-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.async-or-defer-script.auto"
    adjustScriptInHeadLow:
      description: Priority adjustment low for script-in-head
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.script-in-head.low"
    adjustScriptInHeadHigh:
      description: Priority adjustment high for script-in-head
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.script-in-head.high"
    adjustScriptInHeadAuto:
      description: Priority adjustment auto for script-in-head
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.script-in-head.auto"
    adjustOtherScriptLow:
      description: Priority adjustment low for other-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.other-script.low"
    adjustOtherScriptHigh:
      description: Priority adjustment high for other-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.other-script.high"
    adjustOtherScriptAuto:
      description: Priority adjustment auto for other-script
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.other-script.auto"
    adjustLinkPreloadFontLow:
      description: Priority adjustment low for link-preload-font
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-font.low"
    adjustLinkPreloadFontHigh:
      description: Priority adjustment high for link-preload-font
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-font.high"
    adjustLinkPreloadFontAuto:
      description: Priority adjustment auto for link-preload-font
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-font.auto"
    adjustLinkPreloadFetchLow:
      description: Priority adjustment low for link-preload-fetch
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-fetch.low"
    adjustLinkPreloadFetchHigh:
      description: Priority adjustment high for link-preload-fetch
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-fetch.high"
    adjustLinkPreloadFetchAuto:
      description: Priority adjustment auto for link-preload-fetch
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-fetch.auto"
    adjustDeferredStyleLow:
      description: Priority adjustment low for deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.deferred-style.low"
    adjustDeferredStyleHigh:
      description: Priority adjustment high for deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.deferred-style.high"
    adjustDeferredStyleAuto:
      description: Priority adjustment auto for deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.deferred-style.auto"
    adjustLinkPreloadStyleLow:
      description: Priority adjustment low for link-preload-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-style.low"
    adjustLinkPreloadStyleHigh:
      description: Priority adjustment high for link-preload-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-style.high"
    adjustLinkPreloadStyleAuto:
      description: Priority adjustment auto for link-preload-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.link-preload-style.auto"
    adjustNonDeferredStyleLow:
      description: Priority adjustment low for non-deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.non-deferred-style.low"
    adjustNonDeferredStyleHigh:
      description: Priority adjustment high for non-deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.non-deferred-style.high"
    adjustNonDeferredStyleAuto:
      description: Priority adjustment auto for non-deferred-style
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.non-deferred-style.auto"
    adjustGlobalFetchApiLow:
      description: Priority adjustment low for global-fetch-api
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.global-fetch-api.low"
    adjustGlobalFetchApiHigh:
      description: Priority adjustment high for global-fetch-api
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.global-fetch-api.high"
    adjustGlobalFetchApiAuto:
      description: Priority adjustment auto for global-fetch-api
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.global-fetch-api.auto"
    adjustImagesLow:
      description: Priority adjustment low for images
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.images.low"
    adjustImagesHigh:
      description: Priority adjustment high for images
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.images.high"
    adjustImagesAuto:
      description: Priority adjustment auto for images
      type: int
      setPref:
        branch: default
        pref: "network.fetchpriority.adjustments.images.auto"
    lowerTrackersPriority:
      description: Whether to lower priority of resources on the tracking protection list
      type: boolean
      setPref:
        branch: default
        pref: "privacy.trackingprotection.lower_network_priority"
    enableHttpTailing:
      description: Whether certain requests, mainly trackers, are put to the "tail", behind other requests
      type: boolean
      setPref:
        branch: default
        pref: "network.http.tailing.enabled"
    httpTailingUrgency:
      description: Priority urgency of tailed request
      type: int
      setPref:
        branch: default
        pref: "network.http.tailing.urgency"
    httpTailingDelayQuantum:
      description: When the page load has not yet reached DOMContentLoaded point, tail requestes are delayed by (non-tailed requests count + 1) * delay-quantum milliseconds.
      type: int
      setPref:
        branch: default
        pref: "network.http.tailing.delay-quantum"
    httpTailingDelayQuantumAfterDCL:
      description: After the page load reached DOMContentLoaded point, tail requestes are delayed by (non-tailed requests count + 1) * delay-quantum-after-domcontentloaded milliseconds.
      type: int
      setPref:
        branch: default
        pref: "network.http.tailing.delay-quantum-after-domcontentloaded"
    httpTailingMaxDelay:
      description:  Upper limit for the calculated delay, prevents long standing and comet-like requests
      type: int
      setPref:
        branch: default
        pref: "network.http.tailing.delay-max"
    httpTailingTotalMaxDelay:
      description: Total limit we delay tailed requests since page load start
      type: int
      setPref:
        branch: default
        pref: "network.http.tailing.total-max"

networkingAuth:
  description: "Firefox Networking (Necko) Authentication"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    redirectForAuthRetriesEnabled:
      description: Whether to enable redirects for auth retries
      type: boolean
      setPref:
        branch: default
        pref: "network.auth.use_redirect_for_retries"

networkingDenyIpAddrAny:
  description: "Firefox Networking (Necko) Deny IP Address Any"
  owner: vgosu@mozilla.com
  hasExposure: false
  variables:
    denyIpAddrAny:
      description: Whether to deny empty (0.0.0.0) IP addresses
      type: boolean
      setPref:
        branch: default
        pref: network.socket.ip_addr_any.disabled

compressionDictionaries:
  description: HTTP Compression Dictionaries
  owner: rjesup@mozilla.com
  hasExposure: false
  variables:
    enableDictionaries:
      description: Enables/disables HTTP Compression Dictionaries
      type: boolean
      setPref:
       branch: default
       pref: network.http.dictionaries.enable

pingsender:
  description: "In-product usage of the pingsender telemetry reporter."
  owner: nalexander@mozilla.com
  hasExposure: false
  variables:
    backgroundTaskEnabled:
      type: "boolean"
      fallbackPref: "toolkit.telemetry.shutdownPingSender.backgroundtask.enabled"
      description: "Whether to use the `pingsender` background task to send shutdown telemetry"

dapTelemetry:
  description: DAP Telemetry
  owner: simon@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether to automatically send DAP measurements.
    task1Enabled:
      type: boolean
      description: Whether to send fake measurements for task 1.
    task1TaskId:
      type: string
      description: The task ID to use for task 1 measurements.
    visitCountingEnabled:
      type: boolean
      description: Whether to count visits to the provided list of URLs.
    visitCountingExperimentList:
      type: json
      description: A list of experiments with URLs for which we want to count visits.

dapIncrementality:
  description: "Incrementality experiment configuration"
  owner: gleonard@mozilla.com
  hasExposure: false
  variables:
    measurementType:
      type: string
      description:  Indicates the type of measurement to enable.  Valid values are `visitMeasurement`, `referrerMeasurement`.
    advertiser:
      type: string
      description: The advertiser being measured.
    taskId:
      type: string
      description: The DAP taskId specified for report submission.
    length:
      type: int
      description: The number of buckets needed for the report histogram.
    timePrecision:
      type: int
      description: The time precision (seconds) for submitted report.  Must match the time-precision value for the task with the specified taskId.
    visitCountUrls:
      type: json
      description: Used for measurementType `visitMeasurement`. JSON indicating the url (string), bucket (int), and metric_name(string).
    referrerUrls:
      type: json
      description: Used for measurementType `referrerMeasurement`. JSON indicating the url (string), bucket (int), and metric_name(string) The url pattern should be broad.
    targetUrls:
      type: string
      description: Used for measurementType `referrerMeasurement`. Comma separated list of URLs to measure.
    unknownReferrerBucket:
      type: int
      description: Used for measurementType `referrerMeasurement`. Histogram bucket indicating unknown referrer, may be null.
    unknownReferrerMetricName:
      type: string
      description: Used for measurementType `referrerMeasurement`. Metric name indicating count of unknown referrer occurrences, may be null.

dapAggregators:
  description: Aggregator server configuration to use for submitting DAP reports.
  owner: tcampbell@mozilla.com
  hasExposure: false
  variables:
    leader_url:
      description: The URL of the DAP Leader server where reports are submitted.
      type: string
      setPref:
        branch: default
        pref: "toolkit.telemetry.dap.leader.url"
    leader_hpke:
      description: The base64-encode HPKE key to encrypt leader shares with.
      type: string
      setPref:
        branch: default
        pref: "toolkit.telemetry.dap.leader.hpke"
    helper_url:
      description: The URL of the DAP Helper server.
      type: string
      setPref:
        branch: default
        pref: "toolkit.telemetry.dap.helper.url"
    helper_hpke:
      description: The base64-encode HPKE key to encrypt helper shares with.
      type: string
      setPref:
        branch: default
        pref: "toolkit.telemetry.dap.helper.hpke"

etpLevel2PBMPref:
  description: The pref that controls the ETP level 2 list in the private browsing mode
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Whether to enable ETP level 2 list in the private browsing mode.
      type: boolean
      setPref:
        branch: default
        pref: "privacy.annotate_channels.strict_list.pbmode.enabled"

etpStrictFeatures:
  description: Prefs to control the strict ETP features
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    features:
      description: The list of strict ETP features to enable in ETP strict mode.
      type: string
      setPref:
        branch: default
        pref: "browser.contentblocking.features.strict"

thirdPartyCookieBlocking:
  description: Prefs to control third-party cookie blocking
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Whether to enable third-party cookie blocking
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.cookieBehavior.optInPartitioning"
    enabledPBM:
      description: Whether to enable third-party cookie blocking in private browsing mode
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.cookieBehavior.optInPartitioning.pbmode"

googleSafeBrowsingV5:
  description: Control Google Safe Browsing V5 protocol
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Whether to enable Google Safe Browsing V5 protocol.
      type: boolean
      setPref:
        branch: default
        pref: "browser.safebrowsing.provider.google5.enabled"

safeBrowsingRealTime:
  description: Control Safe Browsing real-time lookup and simulation
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Whether to enable Safe Browsing real-time lookup.
      type: boolean
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.enabled"
    globalCacheEnabled:
      description: Whether to enable the Global Cache for real-time lookup.
      type: boolean
      setPref:
        branch: default
        pref: "browser.safebrowsing.globalCache.enabled"
    simulationEnabled:
      description: Whether to enable the real-time request simulator.
      type: boolean
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.simulation.enabled"
    simulationCacheTTLSec:
      description: Cache TTL in seconds for the real-time request simulator.
      type: int
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.simulation.cacheTTLSec"
    simulationHitProbability:
      description: >
        Hit probability for the real-time request simulator, expressed as
        parts per million. 1000000 = 100%, 1 = 0.0001%, 0 = never hit.
      type: int
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.simulation.hitProbability"
    simulationNegativeCacheEnabled:
      description: >
        Whether to enable the negative cache for the real-time request
        simulator. When enabled, prefixes with no hits are cached to skip
        subsequent requests.
      type: boolean
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.simulation.negativeCacheEnabled"
    simulationNegativeCacheTTLSec:
      description: >
        TTL in seconds for negative cache entries in the real-time request
        simulator.
      type: int
      setPref:
        branch: default
        pref: "browser.safebrowsing.realTime.simulation.negativeCacheTTLSec"

fxaButtonVisibility:
  description: Prefs to control the visibility of the Firefox Accounts toolbar button when not signed in.
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    boolean:
      description: True if the Firefox Accounts toolbar button should be visible when not signed in.
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.toolbar.defaultVisible
    pxiToolbarEnabled:
      description: >-
        True if we're enabling the PXI dropdown menu for the FxA toolbar button instead of
        taking the user straight to login
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.toolbar.pxiToolbarEnabled
    monitorEnabled:
      description: >-
        Toggle the Monitor CTA
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.toolbar.pxiToolbarEnabled.monitorEnabled
    relayEnabled:
      description: >-
        Toggle the Relay CTA
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.toolbar.pxiToolbarEnabled.relayEnabled
    vpnEnabled:
      description: >-
        Toggle the VPN CTA
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.toolbar.pxiToolbarEnabled.vpnEnabled
    avatarIconVariant:
      description: >-
        Controls the icon that appears in the toolbar button when in the
        signed-out state.

        One of the following values:
          - control
          - human-circle
          - fox-circle
      type: string

fxaClientAssociation:
  description: Prefs to control the client association ping.
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    pingEnabled:
      description: >-
        True if the client association ping should be sent.
      type: boolean
      setPref:
        branch: user
        pref: identity.fxaccounts.telemetry.clientAssociationPing.enabled

fxaAppMenuItem:
  description: >-
    Prefs to control the appearance and copy of the FxA sign-in button in the
    AppMenu when signed out.
  owner: mconley@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is recorded when the user is enrolled in an experiment using this
    feature and the AppMenu on Firefox Desktop is opened.
  variables:
    ctaCopyVariant:
      description: >-
        One of the following values:
          - control
          - sync-devices
          - backup-data
          - backup-sync
          - mobile
      type: string

fxaAvatarMenuItem:
  description: >-
    Prefs to control the appearance and copy of the FxA sign-in button in the
    FxA avatar menu when signed out.
  owner: mconley@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is recorded when the user is enrolled in an experiment using this
    feature and the FxA avatar menu on Firefox Desktop is opened.
  variables:
    ctaCopyVariant:
      description: >-
        One of the following values:
          - control
          - sync-devices
          - backup-data
          - backup-sync
          - mobile
      type: string

legacyHeartbeat:
  description: Normandy Heartbeat exposed to Nimbus
  owner: beth@mozilla.com
  hasExposure: false
  schema:
    uri: "resource://normandy/schemas/LegacyHeartbeat.schema.json"
    path: "toolkit/components/normandy/schemas/LegacyHeartbeat.schema.json"
  variables:
    survey:
      type: json
      description: The Heartbeat survey parameters.

queryStripping:
  description: Query parameter stripping anti-tracking feature.
  owner: emz@mozilla.com
  hasExposure: false
  variables:
    enabledNormalBrowsing:
      type: boolean
      setPref:
        branch: default
        pref: privacy.query_stripping.enabled
      description: Enables / disables URL query string stripping in normal browsing mode.
    enabledPrivateBrowsing:
      type: boolean
      setPref:
        branch: default
        pref: privacy.query_stripping.enabled.pbmode
      description: Enables / disables URL query string stripping in private browsing mode.
    allowList:
      type: string
      setPref:
        branch: default
        pref: privacy.query_stripping.allow_list
      description: >-
        List of sites exempt from query stripping. This list will be merged with
        records coming from RemoteSettings.
    stripList:
      type: string
      setPref:
        branch: default
        pref: privacy.query_stripping.strip_list
      description: >-
        List of query params to be stripped from URIs. This list will be merged
        with records coming from RemoteSettings.

fingerprintingProtection:
  description: Control Fingerprinting Protection
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    enabledNormal:
      type: boolean
      setPref:
        branch: default
        pref: privacy.fingerprintingProtection
      description: Enables / disables fingerprinting protection in normal browsing mode.
    enabledPrivate:
      type: boolean
      setPref:
        branch: default
        pref: privacy.fingerprintingProtection.pbmode
      description: Enables / disables fingerprinting protection in private browsing mode.
    overrides:
      type: string
      setPref:
        branch: default
        pref: privacy.fingerprintingProtection.overrides
      description: >-
        The protection overrides to add or remove fingerprinting protection
        targets. Please check RFPTargets.inc for all supported targets.
    fdlibm_math:
      type: boolean
      setPref:
        branch: default
        pref: javascript.options.use_fdlibm_for_sin_cos_tan
      description: >-
        Uses a different math backend for Math.sin/cos/tan in JavaScript that exposes less entropy
    canvas_random_use_siphash:
      type: boolean
      setPref:
        branch: default
        pref: privacy.resistFingerprinting.randomization.canvas.use_siphash
      description: >-
        Uses the SipHash function for canvas randomization.
    enabledBaseline:
      type: boolean
      setPref:
        branch: default
        pref: privacy.baselineFingerprintingProtection
      description: Enables / disables baseline fingerprinting protection.
    overridesBaseline:
      type: string
      setPref:
        branch: default
        pref: privacy.baselineFingerprintingProtection.overrides
      description: >-
        The protection overrides to add or remove fingerprinting protection
        targets. Please check RFPTargets.inc for all supported targets.

userCharacteristics:
  description: Control user characteristic data collection
  owner: tihuang@mozilla.com
  hasExposure: false
  variables:
    currentVersion:
      type: int
      setPref:
        branch: user
        pref: toolkit.telemetry.user_characteristics_ping.current_version
      description: The current collection version of the user characteristics.

mediaCapabilities:
  description: Media Capabilities API features.
  owner: media-alerts@mozilla.com, apehrson@mozilla.com, azebrowski@mozilla.com
  hasExposure: false
  variables:
    webrtcEnabled:
      description: >-
        Whether or not to enable the WebRTC parts of the MediaCapabilities API.
      type: boolean
      setPref:
        branch: default
        pref: media.mediacapabilities.webrtc.enabled
    webrtcAllowlist:
      description: >-
        Whether or not to enable the WebRTC parts of the MediaCapabilities API
        only on specific domains.
      type: string
      setPref:
        branch: default
        pref: media.mediacapabilities.webrtc.enabled.allowlist
    legacyEnabled:
      description: >-
        Enables legacy mode, which bypasses colorGamut, transferFunction,
        and scalabilityMode validation, in the MediaCapabilities API,
        for improved web compatibility.
      type: boolean
      setPref:
        branch: default
        pref: media.mediacapabilities.legacy.enabled
    legacyAllowlist:
      description: >-
        Enables legacy mode, which bypasses colorGamut, transferFunction,
        and scalabilityMode validation, in the MediaCapabilities API,
        for improved web compatibility only on specific domains.
      type: string
      setPref:
        branch: default
        pref: media.mediacapabilities.legacy.allowlist

migrationWizard:
  description: Prefs to control the Migration Wizard UI.
  owner: mconley@mozilla.com
  hasExposure: false
  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.
      type: boolean
      setPref:
        branch: user
        pref: browser.migrate.content-modal.import-all.enabled
    showPreferencesEntrypoint:
      description: True if an entrypoint to the migration wizard should be visible in about:preferences.
      type: boolean
      setPref:
        branch: user
        pref: browser.migrate.preferences-entrypoint.enabled
    aboutWelcomeBehavior:
      description: >-
        When migration is kicked off from about:welcome, there are
        a few different behaviors that we want to test, controlled
        by a preference that is instrumented for Nimbus. The pref
        has the following possible states:

        "autoclose":
          The user will be directed to the migration wizard in
          about:preferences, but once the wizard is dismissed,
          the tab will close.

        "embedded":
          The migration wizard is embedded in about:welcome.

        "standalone":
          The migration wizard will open in a new top-level content
          window.

        "default" / other
          The user will be directed to the migration wizard in
          about:preferences. The tab will not close once the
          user closes the wizard.
      type: string
      setPref:
        branch: user
        pref: browser.migrate.content-modal.about-welcome-behavior
    migrateExtensions:
      description: True if importing extensions is enabled.
      type: boolean
      setPref:
        branch: user
        pref: browser.migrate.chrome.extensions.enabled
    chromeCanRequestPermissions:
      description: >-
        True if Chrome-based browsers can request read permissions on
        platforms where the browser is restricted from reading the contents
        of a Chrome-based browser's user data directory. In practice, this
        is only relevant to the Linux platform when the browser is installed
        as a Snap package.
      type: boolean
      setPref:
        branch: user
        pref: browser.migrate.chrome.get_permissions.enabled

mixedContentUpgrading:
  description: Prefs to control whether we upgrade mixed passive content (images, audio, video) from http to https
  owner: fbraun@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: True if the mixed content upgrading pref is enabled
      type: boolean
      setPref:
        branch: default
        pref: security.mixed_content.upgrade_display_content

gc:
  description: Prefs that control gc heuristics.
  owner: dpalmeiro@mozilla.com
  hasExposure: false
  variables:
    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.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_generational:
      description: Whether generational GC is enabled.
      type: boolean
      setPref:
        branch: user
        pref: "javascript.options.mem.gc_generational"
    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_max_parallel_marking_threads:
      description: The maximum number of threads to use for parallel marking, if enabled.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.mem.gc_max_parallel_marking_threads"
    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"
    nursery_max_time_goal_ms:
      description: Set the nursery's maximum time goal, in ms.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.mem.nursery_max_time_goal_ms"

jsParallelParsing:
  description: Pref to toggle JS parallel parsing.
  owner: dpalmeiro@mozilla.com, nbp@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: True to enable parallel parsing.
      type: boolean
      setPref:
        branch: user
        pref: "javascript.options.parallel_parsing"

jitThresholds:
  description: Prefs that control jit tier thresholds.
  owner: dpalmeiro@mozilla.com, jdemooij@mozilla.com
  hasExposure: false
  variables:
    blinterp_threshold:
      description: Set the threshold to enable blinterp compilation.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.blinterp.threshold"
    baseline_threshold:
      description: Set the threshold to enable baseline compilation.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.baselinejit.threshold"
    ion_threshold:
      description: Set the threshold to enable ion compilation.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.ion.threshold"
    ion_bailout_threshold:
      description: Set the ion frequent bailout threshold.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.ion.frequent_bailout_threshold"
    ion_offthread_compilation:
      description: True to enable offthread ion compilations.
      type: boolean
      setPref:
        branch: user
        pref: "javascript.options.ion.offthread_compilation"
    inlining_max_length:
      description: Set the max bytecode length considered for inlining.
      type: int
      setPref:
        branch: user
        pref: "javascript.options.inlining_bytecode_max_length"

jitHintsCache:
  description: Pref to toggle the JIT hints cache.
  owner: dpalmeiro@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: True to enable the hints cache.
      type: boolean
      setPref:
        branch: user
        pref: "javascript.options.jithints"

scriptloader:
  description: Prefs that control scriptloader heuristics.
  owner: dpalmeiro@mozilla.com
  hasExposure: false
  variables:
    bytecode_cache_strategy:
      description: Set the bytecode cache strategy.
      type: int
      setPref:
        branch: user
        pref: "dom.script_loader.bytecode_cache.strategy"
    delazification_strategy:
      description: Controls when functions are parsed. 0=on-demand (lazy), 255=eager parse all.
      type: int
      setPref:
        branch: user
        pref: "dom.script_loader.delazification.strategy"
    delazification_max_size:
      description: Maximum number of bytes supported for speculate OMT full parsing.
      type: int
      setPref:
        branch: user
        pref: "dom.script_loader.delazification.max_size"
    delazification_min_mem:
      description: Minimum memory required, in GB, to enable OMT full parsing.
      type: int
      setPref:
        branch: user
        pref: "dom.script_loader.delazification.min_mem"
    speculate_async_enabled:
      description: Enable speculative OMT parsing for async scripts.
      type: boolean
      setPref:
        branch: user
        pref: "dom.script_loader.external_scripts.speculate_async.enabled"
    speculate_link_preload_enabled:
      description: Enable speculative OMT parsing for link=preload scripts.
      type: boolean
      setPref:
        branch: user
        pref: "dom.script_loader.external_scripts.speculate_link_preload.enabled"
    speculate_non_parser_inserted_enabled:
      description: Enable speculative OMT parsing for non parser inserted scripts.
      type: boolean
      setPref:
        branch: user
        pref: "dom.script_loader.external_scripts.speculate_non_parser_inserted.enabled"
    speculate_enabled:
      description: Enable speculative OMT parsing.
      type: boolean
      setPref:
        branch: user
        pref: "dom.script_loader.external_scripts.speculative_omt_parse.enabled"
    navigation_cache_enabled:
      description: Enable the navigation cache.
      type: boolean
      setPref:
        branch: user
        pref: "dom.script_loader.experimental.navigation_cache"

opaqueResponseBlocking:
  description: Prefs to enable Opaque Response Blocking
  owner: farre@mozilla.com
  hasExposure: true
  exposureDescription: Exposure is sent when a response is blocked
  variables:
    enabled:
      description: Whether ORB is enabled
      type: boolean
      setPref:
        branch: user
        pref: "browser.opaqueResponseBlocking"
    javascriptValidator:
      description: Whether JavaScript validation for ORB is enabled
      type: boolean
      setPref:
        branch: user
        pref: "browser.opaqueResponseBlocking.javascriptValidator"
    filterFetchResponse:
      description: Whether filtering of internal responses in the parent ORB is enabled
      type: int
      setPref:
        branch: user
        pref: "browser.opaqueResponseBlocking.filterFetchResponse"
    mediaExceptionsStrategy:
      description: >-
        If we partially or wholly allow audio and video MIME types in conflict with spec.
      type: int
      setPref:
        branch: user
        pref: "browser.opaqueResponseBlocking.mediaExceptionsStrategy"

updatePrompt:
  description: Prefs to control content and behavior of update notifications
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is sent at most once per browsing session when an update
    notification prompt is displayed.
  variables:
    showReleaseNotesLink:
      type: boolean
      description: >-
        If true, the "Learn More" link will be shown in the update prompt. If
        false or omitted, the link will only be shown for supported locales.
    releaseNotesURL:
      type: string
      fallbackPref: app.releaseNotesURL.prompt
      description: >-
        Template for the URL opened when the user clicks the "Learn More" link
        in the update prompt. If an empty string, the link will not be shown.

powerSaver:
  description: Prefs to control power saving behaviors
  owner: florian@mozilla.com
  hasExposure: false
  variables:
    reduceFrameRates:
      type: int
      setPref:
        branch: user
        pref: "gfx.display.max-frame-rate"
      description: >-
        Limit the number of frames displayed per second.
        If omitted, the refresh rate of the screen will be used.
    mediaAutoPlay:
      type: int
      setPref:
        branch: user
        pref: "media.autoplay.default"
      description: >-
        Control if media is allowed to auto-play, with and without sound.
    backgroundTimerMinTime:
      type: int
      setPref:
        branch: user
        pref: "dom.min_background_timeout_value"
      description: >-
        Limit how frequently timers are allowed to run in background tabs.
    backgroundTimerRegenerationRate:
      type: int
      setPref:
        branch: user
        pref: "dom.timeout.background_budget_regeneration_rate"
      description: >-
        Limit how quickly the background tab timer budget regenerates.

backgroundUpdate:
  description: Prefs to control aspects of the background update process.
  owner: install-update@mozilla.com
  hasExposure: true
  exposureDescription: >-
    The exposure event is sent when scheduling the background task and both the
    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.
  variables:
    enableUpdatesForUnelevatedInstallations:
      description: >-
        Allow the background update process to download and apply updates when
        the Mozilla Maintenance Service is unavailable but the installation
        directory can be written.
      type: boolean
      setPref:
        branch: user
        pref: app.update.background.allowUpdatesForUnelevatedInstallations

bookmarks:
  description: Prefs to control aspects of the bookmarks system.
  owner: omc-core@mozilla.com
  hasExposure: false
  variables:
    enableBookmarksToolbar:
      type: string
      setPref:
        branch: user
        pref: browser.toolbars.bookmarks.visibility
      description: If the bookmarks toolbar should never, always, or only show on newtab.
    showOtherBookmarks:
      type: boolean
      setPref:
        branch: user
        pref: browser.toolbars.bookmarks.showOtherBookmarks
      description: Display state of the "Other Bookmarks" toolbar button.

cookieBannerHandling:
  description: Automatically handle cookie banners on the user's behalf.
  owner: emz@mozilla.com
  hasExposure: false
  variables:
    modeNormalBrowsing:
      type: int
      setPref:
        branch: default
        pref: cookiebanners.service.mode
      description: >-
        Controls the cookie banner handling mode in normal browsing.
        Values: 0 - disabled, 1 - reject all, 2 - reject all with accept all fallback.
    modePrivateBrowsing:
      type: int
      setPref:
        branch: default
        pref: cookiebanners.service.mode.privateBrowsing
      description: >-
        Controls the cookie banner handling mode in private browsing.
        Values: 0 - disabled, 1 - reject all, 2 - reject all with accept all fallback.
    enableGlobalRules:
      type: boolean
      setPref:
        branch: default
        pref: cookiebanners.service.enableGlobalRules
      description: >-
        Enables use of global CookieBannerRules, which apply to all sites.
        This enables handling of CMPs across sites without the use of site-specific rules.
    enableGlobalRulesSubFrames:
      type: boolean
      setPref:
        branch: default
        pref: cookiebanners.service.enableGlobalRules.subFrames
      description: >-
        Whether global rules are allowed to run in sub-frames. Running query
        selectors in every sub-frame may negatively impact performance, but is
        required for some CMPs.
    enableDetectOnly:
      type: boolean
      setPref:
        branch: default
        pref: cookiebanners.service.detectOnly
      description: >-
        When set to true, cookie banners are detected and detection events are
        dispatched, but they will not be handled.
        This pref applies to both normal and private browsing windows.
    enablePromo:
      type: boolean
      setPref:
        branch: default
        pref: browser.promo.cookiebanners.enabled
      description: Enables the cookie banner promo in about:privatebrowsing.
    enableDesktopFeatureCallout:
      type: boolean
      setPref:
        branch: default
        pref: cookiebanners.ui.desktop.showCallout
      description: Enables the cookie banner feature callout on desktop.

backgroundThreads:
  description: Prefs to control MacOS thread priorities for power savings.
  owner: kwright@mozilla.com
  hasExposure: false
  variables:
    use_low_power:
      description: >-
        Use the MacOS QoS libraries to deprioritize select threads.
      type: boolean
      setPref:
        branch: user
        pref: threads.use_low_power.enabled
    lower_mainthread_priority_in_background:
      description: >-
        When a browsing context is put in the background and isn't actively playing
        media, deprioritize its main thread.
      type: boolean
      setPref:
        branch: user
        pref: threads.lower_mainthread_priority_in_background.enabled

reportBrokenSite:
  description: The Report Broken Site feature
  owner: twisniewski@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: ui.new-webcompat-reporter.enabled
      description: >-
        Whether Report Broken Site is enabled
    sendMoreInfo:
      type: boolean
      setPref:
        branch: user
        pref: ui.new-webcompat-reporter.send-more-info-link
      description: >-
        Whether Report Broken Site shows the send more info link directing
        users to webcompat.com (defaults to true for prerelease channels)
    reasonDropdown:
      type: int
      setPref:
        branch: user
        pref: ui.new-webcompat-reporter.reason-dropdown
      description: >-
        0 = do not show the "reason" dropdown
        1 = show an optional "reason" dropdown
        2 = show a required "reason" dropdown

phc:
  description: Prefs to control the Probabalistic Heap Checker (PHC)
  owner: pbone@mozilla.com
  hasExposure: false
  variables:
    phcEnabled:
      description: Whether to enable PHC
      type: boolean
      setPref:
        branch: user
        pref: memory.phc.enabled
    phcMinRamMB:
      description: The minimum amount of RAM required to enable PHC
      type: int
      setPref:
        branch: user
        pref: memory.phc.min_ram_mb
    phcAvgDelayFirst:
      description: The delay before the first PHC allocation in the parent process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.first
    phcAvgDelayNormal:
      description: The delay between PHC allocations in the parent process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.normal
    phcAvgDelayPageReuse:
      description: The delay before reusing a PHC page in the parent process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.page_reuse
    phcAvgDelayContentFirst:
      description: The delay before the first PHC allocation in the content process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.content.first
    phcAvgDelayContentNormal:
      description: The delay between PHC allocations in the content process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.content.normal
    phcAvgDelayContentPageReuse:
      description: The delay before reusing a PHC page in the content process
      type: int
      setPref:
        branch: user
        pref: memory.phc.avg_delay.content.page_reuse
    phcMaxSize:
      description: The maximum amount of memory used for the PHC
      type: int
      setPref:
        branch: user
        pref: memory.phc.size_kb

mailto:
  description: Prefs to control aspects of the mailto handler
  owner: install-update@mozilla.com
  hasExposure: true
  exposureDescription: >-
    The exposure event is sent when a webmail site calls the
    registerProtocolHandler function and when users use mailto links in Firefox.
  variables:
    dualPrompt:
      type: boolean
      description: >-
        Can be used to toggle the entire feature on and off.
      fallbackPref: browser.mailto.dualPrompt
    dualPrompt.onLocationChange:
      type: boolean
      description: >-
        Display a reminder prompt for known webmailers if the prompt was not
        dismissed before the next visit of that webmailer.
      fallbackPref: browser.mailto.dualPrompt.onLocationChange
    dualPrompt.dismissXClickMinutes:
      type: int
      description: >-
        This pref controls after how many minutes the mailto prompt can be shown
        again, which has been dismissed by clicking the 'X' button before.
      fallbackPref: browser.mailto.dualPrompt.dismissXClickMinutes
    dualPrompt.dismissNotNowMinutes:
      type: int
      description: >-
        This pref controls after how many minutes the mailto prompt can be shown
        again, which has been dismissed by clicking a 'not now' button on it.
      fallbackPref: browser.mailto.dualPrompt.dismissNotNowMinutes

nimbusIsReady:
  description: A feature that provides the number of Nimbus is_ready events to send
      when Nimbus is ready.
  owner: chumphreys@mozilla.com
  hasExposure: false
  applications:
    - firefox-desktop
  variables:
    eventCount:
      description: The number of events that should be sent.
      type: int

nimbusTelemetry:
  description: A feature that enables or disables Nimbus telemetry.
  owner: project-nimbus@mozilla.com
  hasExposure: false
  applications:
    - firefox-desktop
    - firefox-desktop-background-task
  variables:
    gleanMetricConfiguration:
      description: >
       A Glean metric configuration JSON blob.

       This is limited to configuring the following categories:
       - nimbus_events
       - nimbus_targeting_context
       - nimbus_targeting_environment
      type: json

    nimbusTargetingEnvironment:
      description: >
        Configuration for the nimbus_targeting_environment telemetry category.
      type: json

  schema:
    uri: resource://nimbus/schemas/NimbusTelemetryFeature.schema.json
    path: toolkit/components/nimbus/schemas/NimbusTelemetryFeature.schema.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

contentRelevancy:
  description: >-
    A feature for interest-based content relevance ranking and personalization
    for Firefox.
  owner: disco-team@mozilla.com
  hasExposure: false
  variables:
    enabled:
      description: Enable this feature
      type: boolean
      fallbackPref: toolkit.contentRelevancy.enabled
    maxInputUrls:
      description: The maximum number of input URLs for interest classification
      type: int
    minInputUrls:
      description: The minimal number of input URLs for interest classification
      type: int
    timerInterval:
      description: >-
        The interval (in seconds) of the background update timer for the content
        relevancy manager
      type: int
      setPref:
        branch: user
        pref: toolkit.contentRelevancy.timerInterval
    ingestEnabled:
      description: Enable the ingestion through the Rust component
      type: boolean
      fallbackPref: toolkit.contentRelevancy.ingestEnabled

backupService:
  description: Prefs to control the profile backup service
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.backup.enabled
      description: >-
        When true, the profile backup service will be initialized soon after
        startup.
    sqlitePagesPerStep:
      description: >-
        The number of database pages to backup per step when backing up an
        SQLite database.
      type: int
      setPref:
        branch: user
        pref: browser.backup.sqlite.pages_per_step
    sqliteStepDelayMs:
      description: >-
        The delay between SQLite database backup steps in milliseconds.
      type: int
      setPref:
        branch: user
        pref: browser.backup.sqlite.step_delay_ms
    idleThresholdSeconds:
      description: >-
        The number of seconds of user idle time to wait for before considering
        to schedule a backup.
      type: int
      setPref:
        branch: user
        pref: browser.backup.scheduled.idle-threshold-seconds
    minTimeBetweenBackupsSeconds:
      description: >-
        The minimum number of seconds since the last known backup that must
        pass before we might schedule a backup.
      type: int
      setPref:
        branch: user
        pref: browser.backup.scheduled.minimum-time-between-backups-seconds
    archiveKillswitch:
      type: boolean
      description: >-
        Disables backup archiving, overrides all other configs when true.
    restoreKillswitch:
      type: boolean
      description: >-
        Disables backup restoration, overrides all other configs when true.

pqcrypto:
  description: Prefs that control the use of post-quantum cryptography.
  owner: jschanck@mozilla.com
  hasExposure: false
  variables:
    tlsEnableMlkem:
      type: boolean
      setPref:
        branch: default
        pref: security.tls.enable_kyber
      description: >-
        Whether to enable mlkem768x25519 for TLS.
    h3EnableMlkem:
      type: boolean
      setPref:
        branch: default
        pref: network.http.http3.enable_kyber
      description: >-
        Whether to enable mlkem768x25519 for H3/QUIC.
    sendP256:
      type: boolean
      setPref:
        branch: default
        pref: security.tls.client_hello.send_p256_keyshare
      description: >-
        Whether to send a P256 share in the client hello in QUIC and TLS.
    dtlsWebRTCEnableMlkem:
      type: boolean
      setPref:
        branch: default
        pref: media.webrtc.enable_pq_hybrid_kex
      description: >-
        Whether to enable mlkem768x25519 for DTLS in WebRTC.


dtlsWebRTC:
  description: Pref that controls the use of DTLS.
  owner: nkulatova@mozilla.com
  hasExposure: false
  variables:
    tlsVersionDTLS:
      type: int
      setPref:
        branch: default
        pref: media.peerconnection.dtls.version.max
      description: >-
        The maximum version of DTLS protocol used in WebRTC (770 = DTLS 1.0, 771 = DTLS 1.2, 772 = DTLS 1.3).

certCompression:
  description: Prefs that control the use of certificate compression decoders.
  owner: anna.weine@mozilla.com
  hasExposure: false
  variables:
    tlsEnableZlib:
      type: boolean
      setPref:
        branch: default
        pref: security.tls.enable_certificate_compression_zlib
      description: >-
        Whether to enable Zlib for TLS certificate compression.
    h3EnableZlib:
      type: boolean
      setPref:
        branch: default
        pref: network.http.http3.enable_certificate_compression_zlib
      description: >-
        Whether to enable Zlib for H3/QUIC certificate compression.
    tlsEnableBrotli:
      type: boolean
      setPref:
        branch: default
        pref: security.tls.enable_certificate_compression_brotli
      description: >-
        Whether to enable Brotli for TLS certificate compression.
    h3EnableBrotli:
      type: boolean
      setPref:
        branch: default
        pref: network.http.http3.enable_certificate_compression_brotli
      description: >-
        Whether to enable Brotli for H3/QUIC certificate compression.
    tlsEnableZstd:
      type: boolean
      setPref:
        branch: default
        pref: security.tls.enable_certificate_compression_zstd
      description: >-
        Whether to enable Zstd for TLS certificate compression.
    h3EnableZstd:
      type: boolean
      setPref:
        branch: default
        pref: network.http.http3.enable_certificate_compression_zstd
      description: >-
        Whether to enable Zstd for H3/QUIC certificate compression.

bounceTrackingProtection:
  description: Controls the Bounce Tracking Protection feature.
  owner: emz@mozilla.com
  isEarlyStartup: true
  hasExposure: true
  exposureDescription: >-
    Exposure is recored after every purge run which purged at least one tracker.
    Exposure is only recorded when the feature is fully enabled and not in
    dry-run mode.
  variables:
    mode:
      type: int
      setPref:
        branch: default
        pref: privacy.bounceTrackingProtection.mode
      description: >-
        Mode to run the feature in. See nsIBounceTrackingProtection.idl for
        documentation.
    requireStatefulBounces:
      type: boolean
      setPref:
        branch: default
        pref: privacy.bounceTrackingProtection.requireStatefulBounces
      description: >-
        If true, only bounce redirects where the middle hop/s access cookies or
        storage will be considered to be bounce trackers. If false, all
        redirects that fit the bounce tracker heuristic will be considered.

remoteTabManagement:
  description: >
    Features that let users manage tabs on other devices that are
    connected to the same Mozilla account.
  owner: skhamis@mozilla.com
  hasExposure: false
  variables:
    closeTabsEnabled:
      description: >-
        When true, the user can close tabs on other devices connected to
        the same Mozilla account from the synced tabs menu.
      type: boolean
      fallbackPref: identity.fxaccounts.commands.remoteTabManagement.enabled

crlite:
  description: Prefs that control the use of CRLite
  owner: jschanck@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: security.remote_settings.crlite_filters.enabled
      description: >-
        Whether CRLite artifacts will be downloaded.
    channel:
      type: string
      setPref:
        branch: default
        pref: security.pki.crlite_channel
      description: >-
        The channel from which CRLite artifacts will be downloaded.
    mode:
      type: int
      setPref:
        branch: default
        pref: security.pki.crlite_mode
      description: >-
        How CRLite results will be interpreted.
    timestamps_for_coverage:
      type: int
      setPref:
        branch: default
        pref: security.pki.crlite_timestamps_for_coverage
      description: >-
        How many covered timestamps do we need to see before we enforce a CRLite result.

chatbot:
  description: AI chatbot feature configuration
  owner: elee@mozilla.com
  hasExposure: false
  variables:
    badgeSidebar:
      type: boolean
      description: Show badge on chatbot sidebar tool on enrollment
    minVersion:
      type: string
      description: Minimum Firefox version to apply prefs
    prefs:
      type: json
      description: >-
        The prefs to set under browser.ml.chat.* with object keys as the
        sub-pref and values objects indicating the desired branch and value
        defaulting to clearing the user branch value.

linkPreviews:
  description: Enabling the link previews feature
  owner: elee@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.ml.linkPreview.enabled
      description: If true, will show previews when over link and keyboard shortcut is pressed
    prefs:
      type: json
      description: >-
        The prefs to set under browser.ml.linkPreview.* with object keys as the
        sub-pref and values objects indicating the desired branch and value
        defaulting to clearing the user branch value.

sidebar:
  description: Sidebar feature configuration
  owner: elee@mozilla.com
  hasExposure: false
  variables:
    minVersion:
      type: string
      description: Minimum Firefox version to apply prefs
    revamp:
      type: boolean
      description: sidebar.revamp pref value to set on user branch; true for new experience
    verticalTabs:
      type: boolean
      description: sidebar.verticalTabs pref value to set on user branch; true to enable vertical tabs
    visibility:
      type: string
      description: sidebar.visibility pref value ("hide" or "always-show") to set on user branch

fxms_bmb_button:
  description: A feature for the Firefox Messaging System Bookmarks Bar button surface
  owner: omc-core@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.
  schema:
    uri: chrome://browser/content/asrouter/schemas/MessagingExperiment.schema.json
    path: browser/components/asrouter/content-src/schemas/MessagingExperiment.schema.json
  variables: {}

contentProcessSandbox:
  description: Prefs that control the content process sandbox.
  owner: bowen@mozilla.com
  hasExposure: false
  variables:
    Level:
      description: Content process sandbox level
      type: int
      setPref:
        branch: user
        pref: security.sandbox.content.level

certificateTransparency:
  description: Certificate Transparency configuration
  owner: dkeeler@mozilla.com
  hasExposure: false
  variables:
    mode:
      type: int
      setPref:
        branch: default
        pref: security.pki.certificate_transparency.mode
      description: >-
        What mode Certificate Transparency is in (0=disable, 1=telemetry only,
        2=enforce).

setToDefaultPrompt:
  description: "Experimental set to default spotlight"
  owner: omc-core@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:
    showSpotlightPrompt:
      description: Show experimental set to default spotlight message instead of default prompt
      type: boolean
    message:
      description: Message to show instead of the default prompt
      type: json

tabNotes:
  description: >-
    Associate short text notes with specific web pages and surface those notes later
    when the user returns to that web page in a tab.
  owner: sthompson@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: >-
        Controls whether tab notes storage, code, and UI elements are turned on.
      setPref:
        branch: default
        pref: browser.tabs.notes.enabled

tabGroups:
  description: Prefs to control Tab Groups
  owner: dao@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.tabs.groups.enabled
      description: Controls whether users can create new tab groups via drag and drop or the tab context menu

smartTabGroups:
  description: Prefs to control Smart Tab Groups
  owner: rrando@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.enabled
      description: Controls whether users can use ml features for suggesting tab group names or similar tabs
    suggestOtherTabsMethod:
      type: string
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.suggestOtherTabsMethod
      description: Controls clustering method used to suggest similar tabs feature
    topicModelRevision:
      type: string
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.topicModelRevision
      description: Controls topic model version used by the feature
    embeddingModelRevision:
      type: string
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.embeddingModelRevision
      description: Controls embedding model version used by the feature
    nearestNeighborThresholdInt:
      type: int
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.nearestNeighborThresholdInt
      description: Controls the threshold, less than or equal to 1000, for the nearest neighbor cluster method
    searchTopicEnabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.tabs.groups.smart.searchTopicEnabled
      description: For single tab groupings, use the search query as the topic rather than use ML

externalLinkHandling:
  description: Controls how externally-opened URLs will be handled by Firefox.
  owner: sthompson@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Exposure is recorded when a user clicks on a link outside of Firefox and
    that link is opened by Firefox.
  variables:
    openBehavior:
      description: >-
        Control how external links from another application should be opened in Firefox.
        See the nsIBrowserDOMWindow `OPEN_*` constants for what the values can do.
        The default value for the backing pref is `-1`. When that pref has the default
        value, the code will fall back to the value of the general pref that handles
        opening links, i.e. `browser.link.open_newwindow`, which defaults to `3`.
      type: int
      enum:
        - -1 # use default browser behavior
        - 2 # `OPEN_NEWWINDOW` open external links in a new window
        - 3 # `OPEN_NEWTAB` open in a new tab in the topmost window at the end of the tab strip
        - 6 # `OPEN_NEWTAB_FOREGROUND` open in a new tab in the topmost window at the end of the tab strip and select it
        - 7 # `OPEN_NEWTAB_AFTER_CURRENT` open in a new tab in the topmost window next to the active tab
      fallbackPref: browser.link.open_newwindow.override.external

smartblockEmbeds:
  description: Pref to control Smartblock Embeds
  owner: emz@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: extensions.webcompat.smartblockEmbeds.enabled
      description: >-
        Controls whether smartblock embed placeholders and protections panel toggles will be shown to the user.

selectableProfiles:
  description: "Multiple profile management using selectableProfileService"
  owner: jhirsch@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Enables the multiple profiles feature when true. Turning off this variable will not disable the feature.

storageAccessHeuristics:
  description: Heuristics that grant cookie access automatically for foreign resources
  owner: bvandersloot@mozilla.com
  hasExposure: false
  variables:
    popup_past_interaction:
      type: boolean
      setPref:
        branch: default
        pref: privacy.restrict3rdpartystorage.heuristic.window_open
      description: >-
        Do we grant cookie access to a third party when it is opened in a popup if it has
        been interacted with in the recent past?
    popup_interaction:
      type: boolean
      setPref:
        branch: default
        pref: privacy.restrict3rdpartystorage.heuristic.opened_window_after_interaction
      description: >-
        Do we grant cookie access to a third party when it is opened in a popup if it has
        the opener relationship and the user interacts with the popup?
    navigation:
      type: boolean
      setPref:
        branch: default
        pref: privacy.restrict3rdpartystorage.heuristic.navigation
      description: >-
        Do we grant cookie access to a third party when it is interacted with earlier in this
        tab's history, and the current first party is even further back in the history?
    redirect:
      type: boolean
      setPref:
        branch: default
        pref: privacy.restrict3rdpartystorage.heuristic.recently_visited
      description: >-
        Do we grant cookie access to a third party when it has been interacted with in the recent
        past, has been visited in the past few minutes, and redirects itself to another top level
        site?
    redirect_tracker:
      type: boolean
      setPref:
        branch: default
        pref: privacy.restrict3rdpartystorage.heuristic.redirect
      description: >-
        Do we grant cookie access to a tracker third party when it has been interacted with in the
        recent past and redirects itself to another top level site?

partitioned-cookie-attribute:
  description: Control the enablment and migration of cookies to the Partitioned attribute, rather than TCP
  owner: bvandersloot@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: network.cookie.CHIPS.enabled
      description: >-
        Do we respect the Partitioned attribute?
    chipsMigrationTarget:
      description: What CHIPS migration count target the browser should reach.
      type: int
      setPref:
        branch: default
        pref: network.cookie.CHIPS.migrateDatabaseTarget
    chipsPartitionLimitEnabled:
      description: Whether we enforce CHIPS partition limit
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.chips.partitionLimitEnabled"
    chipsPartitionLimitDryRun:
      description: Whether we actually perform purging/rejection, used to report telemetry without webcompat issues
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.chips.partitionLimitDryRun"
    chipsPartitionLimitByteCapacity:
      description: The actual value of the CHIPS partition limit in bytes
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.chips.partitionLimitByteCapacity"
    chipsAffectsTCP:
      description: Whether CHIPS cookies also appear as TCP cookies when both jars are queried
      type: boolean
      setPref:
        branch: default
        pref: "network.cookie.CHIPS.affectsTCP"

trackingProtectionExperimentation:
  description: Experimental controls for tracking protection behavior
  owner: bvandersloot@mozilla.com
  hasExposure: false
  variables:
    deferAnnotationEnabled:
      description: Whether to defer tracking protection classification annotation
      type: boolean
      setPref:
        branch: default
        pref: "privacy.trackingprotection.defer_annotation.enabled"

contentClassifier:
  description: Controls the content classifier service used by tracking protection.
  owner: bvandersloot@mozilla.com
  hasExposure: false
  variables:
    protectionEnabled:
      description: Whether the content classifier service blocks requests.
      type: boolean
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.protection.enabled"
    protectionEngines:
      description: >-
        Comma-separated content classifier feature names whose engines are
        used for blocking in non-private browsing contexts. Defined feature
        names are in ContentClassifierService.cpp, kFeatures.
      type: string
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.protection.engines"
    protectionEnginesPbmode:
      description: >-
        Comma-separated content classifier feature names whose engines are
        used for blocking in private browsing contexts. Defined feature
        names are in ContentClassifierService.cpp, kFeatures.
      type: string
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.protection.engines.pbmode"
    annotationEnabled:
      description: Whether the content classifier service annotates requests.
      type: boolean
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.annotation.enabled"
    annotationEngines:
      description: >-
        Comma-separated content classifier feature names whose engines are
        used for annotation in non-private browsing contexts. Defined
        feature names are in ContentClassifierService.cpp, kFeatures.
      type: string
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.annotation.engines"
    annotationEnginesPbmode:
      description: >-
        Comma-separated content classifier feature names whose engines are
        used for annotation in private browsing contexts. Defined feature
        names are in ContentClassifierService.cpp, kFeatures.
      type: string
      setPref:
        branch: default
        pref: "privacy.trackingprotection.content.annotation.engines.pbmode"

auto-pip:
  description: "Automatic Picture-in-Picture"
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether or not to auto-open PiP when switching tabs.
      setPref:
        branch: user
        pref: "media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled"

urlbar-ime-search:
  description: "Urlbar IME"
  owner: search-and-suggest-program@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether or not to keep the urlbar panel open during IME composition.
      setPref:
        branch: user
        pref: "browser.urlbar.keepPanelOpenDuringImeComposition"

web-rtc-global-mute-toggles:
  description: "WebRTC Global Mute Toggles"
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether or not to enable global mute toggles to the WebRTC indicator.
      setPref:
        branch: user
        pref: "privacy.webrtc.globalMuteToggles"

jpeg-xl:
  description: "JPEG-XL"
  owner: krosylight@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether or not to enable JPEG-XL support.
      setPref:
        branch: user
        pref: "image.jxl.enabled"

css-masonry:
  description: "CSS Masonry Layout"
  owner: dholbert@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Whether or not to enable CSS masonry layout.
      setPref:
        branch: user
        pref: "layout.css.grid-template-masonry-value.enabled"

windowsUIAutomation:
  description: Support for the Windows UI Automation API
  owner: jteh@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: int
      description: 0 to disable UIA, 2 to enable UIA.
      enum:
        - 0
        - 2
      setPref:
        branch: user
        pref: "accessibility.uia.enable"

expandSignInButton:
  description: "Add text next to the FxA avatar toolbar icon"
  owner: skhamis@mozilla.com
  hasExposure: false
  variables:
    ctaCopyVariant:
      description: >-
        One of the following values:
          - fxa-avatar-sign-in
          - fxa-avatar-sign-up
        empty will be assumed default experience
      type: string

contextID:
  description: >-
    Controls the behaviour of the context ID, which is a unique identifier used
    by Contextual Services.
  owner: mconley@mozilla.com
  hasExposure: false
  variables:
    rotationPeriodInDays:
      type: int
      setPref:
        branch: user
        pref: "browser.contextual-services.contextId.rotation-in-days"
      description: >-
        The number of days since the creation of the context ID after which the
        context ID should be regenerated. Set to 0 to disable rotation. This
        value only takes effect if rustBackendEnabled is also true, otherwise
        no rotation will occur regardless of the value.

        This setting will only be applied after the next restart.
    rustBackendEnabled:
      type: boolean
      setPref:
        branch: user
        pref: "browser.contextual-services.contextId.rust-component.enabled"
      description: >-
        Enables the Rust component backend for ContextId.sys.mjs, which is
        a prerequisite for doing rotations.

deletePrivate:
  description: Enable or disable the option for users to delete files at the end of a private browsing session
  owner: rking@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.download.enableDeletePrivate
      description: Whether the setting for deleting files downloaded in private browsing is available to the user

ipProtection:
  description: Prefs to control IP Protection feature
  owner: fchasen@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.ipProtection.enabled
      description: >-
        Enables the IP Protection feature.
    bandwidthMax:
      type: int
      setPref:
        branch: default
        pref: browser.ipProtection.bandwidth.maxInGb
      description: >-
        Maximum bandwidth allowance in GB for messaging.
    upgradeNotAvailable:
      type: boolean
      setPref:
        branch: default
        pref: browser.ipProtection.upgradeNotAvailable
      description: >-
        Hides Mozilla VPN promotions for users in regions where it is unavailable

webApps:
  description: Enables or disables web apps.
  owner: nrishel@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: user
        pref: browser.taskbarTabs.enabled
      description: >-
        Controls whether web apps can be installed and accessed.

defaultWindowsLaunchOnLogin:
  description: >-
    Controls whether or not new Windows users get defaulted to launch on login
  owner: drubino@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.startup.windowsLaunchOnLogin.defaultEnabled
      description: >-
        If true, and allowed by Windows policy, a new user will be defaulted
        to have Firefox launched when they log on.

passwordManager:
  description: Password manager related prefs
  owner: maltejur@mozilla.com
  hasExposure: false
  variables:
    reencryptionNeeded:
      isEarlyStartup: true
      type: boolean
      setPref:
        branch: default
        pref: signon.reencryptionNeeded
      description: >-
        Triggers a reencryption of all passwords on the next startup for
        migration purposes.

xpcom:
  description: Prefs that control the cross-platform component object model
  owner: tthorne@mozilla.com
  hasExposure: false
  variables:
    idle_period_cross_process_scheduling:
      description: Whether Firefox allows background processes to use idle time to schedule and run tasks.
      type: boolean
      setPref:
        branch: user
        pref: "idle_period.cross_process_scheduling"
    low_commit_space_threshold_mb:
      description: if defined(XP_WIN) || defined(XP_LINUX) - notify TabUnloader or send the memory pressure if the memory resource notification is signaled AND the available commit space is lower than this value.
      type: int
      setPref:
        branch: user
        pref: "browser.low_commit_space_threshold_mb"
    low_commit_space_threshold_percent:
      description: ifdef XP_LINUX - on Linux we also check available memory in comparison to total memory, and use this percent value (out of 100) to determine if we are in a low memory scenario.
      type: int
      setPref:
        branch: user
        pref: "browser.low_commit_space_threshold_percent"

layout:
  description: Prefs that control the DOM or core layout.
  owner: tthorne@mozilla.com
  hasExposure: false
  variables:
    lower_priority_refresh_driver_during_load:
      description: Reduces refresh rate between fcp and load. The value is TRUE is there to improve page load.
      type: boolean
      setPref:
        branch: user
        pref: "layout.lower_priority_refresh_driver_during_load"
    sessionstore_max_tabs_undo:
      description: How many tabs can be reopened per window.
      type: int
      setPref:
        branch: user
        pref: "browser.sessionstore.max_tabs_undo"
    sessionstore_max_windows_undo:
      description: How many windows will be saved and can be reopened per session - on non-macOS platforms this pref may be ignored when dealing with pop-up windows to ensure the user actually gets at least one window with a menu bar.
      type: int
      setPref:
        branch: user
        pref: "browser.sessionstore.max_windows_undo"
    sessionstore_interval:
      description: Minimum interval between two save operations in milliseconds (while the user is active).
      type: int
      setPref:
        branch: user
        pref: "browser.sessionstore.interval"
    sessionhistory_max_total_viewers:
      description: Number of content viewers to cache based. If negative, determined by amount of available memory.
      type: int
      setPref:
        branch: user
        pref: "browser.sessionhistory.max_total_viewers"
    smooth_scroll:
      description: Whether to enable smooth scrolling.
      type: boolean
      setPref:
        branch: user
        pref: "general.smoothScroll"
    frame_rate:
      description: Pref to control browser frame rate, in Hz.
      type: int
      setPref:
        branch: user
        pref: "layout.frame_rate"
    frame_rate_throttled:
      description: Throttled frame rate, in frames per second.
      type: int
      setPref:
        branch: user
        pref: "layout.throttled_frame_rate"
    min_background_timeout_value_without_budget_throttling:
      description: Minimum interval for background tabs when budget throttling is disabled, in milliseconds.
      type: int
      setPref:
        branch: user
        pref: "dom.min_background_timeout_value_without_budget_throttling"
    timeout_throttling_delay:
      description: Delay before throttling activates after tab goes background, in milliseconds.
      type: int
      setPref:
        branch: user
        pref: "dom.timeout.throttling_delay"
    initialpaint_delay:
      description: Reduces the time Firefox waits before starting to render a page.
      type: int
      setPref:
        branch: user
        pref: "nglayout.initialpaint.delay"
    initialpaint_delay_oopif:
      description: Reduces the time Firefox waits before starting to render a page in out-of-process iframes.
      type: int
      setPref:
        branch: user
        pref: "nglayout.initialpaint.delay_in_oopif"
    page_load_deprioritization_period:
      description: Time in milliseconds during which certain tasks are deprioritized during page load.
      type: int
      setPref:
        branch: user
        pref: "page_load.deprioritization_period"

ipc:
  description: Prefs that control the inter-process communication system.
  owner: tthorne@mozilla.com
  hasExposure: false
  variables:
    backend_mach:
      description: if defined(XP_DARWIN) - Whether or not to use the mach-based IPC backend on macOS/iOS. Only read once at startup by IOThreadParent's constructor.
      type: boolean
      setPref:
        branch: user
        pref: "dom.ipc.backend.mach"
    process_count:
      description: The max number of content processes used for non-isolated origins.
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processCount"
    process_count_web_isolated:
      description: Maximum number of isolated content processes per-origin.
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processCount.webIsolated"
    preallocated_process_count:
      description: Process preallocation cache. Only used in fission; in e10s we use 1 always.
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processPrelaunch.fission.number"
    preallocated_lowmem_mb:
      description: Limit preallocated processes below this memory size (in MB).
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processPrelaunch.lowmem_mb"
    priority_manager_enabled:
      description: Determines whether Firefox uses the Process Priority Manager to adjust CPU priority based on importance.
      type: boolean
      setPref:
        branch: user
        pref: "dom.ipc.processPriorityManager.enabled"
    priority_manager_background_grace_period_ms:
      description: The waiting period before Firefox begins lowering the priority of a content process after it goes into background.
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processPriorityManager.backgroundGracePeriodMS"
    priority_manager_background_perceivable_grace_period_ms:
      description: The waiting period before Firefox begins lowering the priority of a content process that is still considered "perceivable".
      type: int
      setPref:
        branch: user
        pref: "dom.ipc.processPriorityManager.backgroundPerceivableGracePeriodMS"
    priority_manager_background_uses_ecoqos:
      description: Windows only. Determines whether Firefox should use EcoQoS mode for power efficiency.
      type: boolean
      setPref:
        branch: user
        pref: "dom.ipc.processPriorityManager.backgroundUsesEcoQoS"

graphics:
  description: Prefs that control media and/or graphics processing.
  owner: tthorne@mozilla.com
  hasExposure: false
  variables:
    gfx_webrender_all:
      description: Whether to use the WebRender hardware backend.
      type: boolean
      setPref:
        branch: user
        pref: "gfx.webrender.all"
    layers_acceleration_force_enabled:
      description: Whether to force acceleration on, ignoring blacklists.
      type: boolean
      setPref:
        branch: user
        pref: "layers.acceleration.force-enabled"
image:
  description: Prefs that control image processing.
  owner: tthorne@mozilla.com
  hasExposure: false
  variables:
    image_cache_size:
      description: The maximum size, in bytes, of the decoded images we cache.
      type: int
      setPref:
        branch: user
        pref: "image.cache.size"
    image_mem_decode_bytes_at_a_time:
      description: Chunk size for calls to the image decoders.
      type: int
      setPref:
        branch: user
        pref: "image.mem.decode_bytes_at_a_time"

walletCustomSchemes:
  description: Defines which custom schemes are treated as digital identity requests
  owner: bvandersloot@mozilla.com
  hasExposure: false
  variables:
    enabledSchemes:
      type: string
      setPref:
        branch: user
        pref: privacy.wallet_schemes
      description: >-
        Comma separated lists of schemes

macAppMenuSetAsDefault:
  description: >-
    Controls whether or not a Set as Default Browser menu item is added to macOS app menu
  owner: rfambro@mozilla.com
  hasExposure: false
  variables:
    shown:
      type: boolean
      setPref:
        branch: user
        pref: browser.macAppMenu.setAsDefaultShown
      description: >-
        Whether or not the macOS app menu contains "Set as Default Browser" item

smartWindow:
  description: >-
    Controls whether Smart Window can become the default browser window on
    startup. Existing Smart Window eligibility checks still apply.
  owner: echa@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      description: Enables the Smart Window feature when true. Turning off this variable will not disable the feature.
    isDefault:
      type: boolean
      setPref:
        branch: user
        pref: browser.smartwindow.isDefaultWindow
      description: >-
        If true, Firefox opens as a Smart Window by default on startup for
        eligible users. Set to false (or unenroll) to disable the rollout.

contentSharing:
  description: Controls the content sharing feature, which allows users to share browser content.
  owner: nbarrett@mozilla.com
  hasExposure: false
  variables:
    enabled:
      type: boolean
      setPref:
        branch: default
        pref: browser.contentsharing.enabled
      description: Whether the content sharing feature is enabled.
    serverUrl:
      type: string
      setPref:
        branch: default
        pref: browser.contentsharing.server.url
      description: The URL of the content sharing server.

webNotificationsPermissionUi:
  description: >-
    Overrides the copy and optional logo of the native Web Notifications
    permission prompt. Not a separate messaging surface.
  owner: omc-core@mozilla.com
  hasExposure: true
  exposureDescription: >-
    Recorded when the permission prompt is rendered with at least one
    treatment variable applied and the activationTargeting expression
    (if set) evaluated truthy.
  variables:
    headline:
      type: string
      description: >-
        Overrides the prompt headline. Must contain "<>" for site-name
        substitution. Falls back to the default copy when unset.
    body:
      type: string
      description: >-
        Optional secondary text shown below the headline as the popup's
        hint text.
    primaryCtaLabel:
      type: string
      description: Overrides the Allow button label.
    primaryCtaAccessKey:
      type: string
      description: Optional access key paired with primaryCtaLabel.
    secondaryCtaLabel:
      type: string
      description: >-
        Overrides the (Always) Block button label. Applied uniformly across
        normal and private browsing modes; the underlying BLOCK action and
        scope are unchanged.
    secondaryCtaAccessKey:
      type: string
      description: Optional access key paired with secondaryCtaLabel.
    logoUrl:
      type: string
      description: >-
        Optional logo URL used as the prompt's icon. Must be a chrome://,
        resource:// or https:// URL; any other scheme is rejected and the
        default icon is shown.
    activationTargeting:
      type: string
      description: >-
        JEXL expression evaluated at prompt-shown time with the per-call
        webNotificationSiteCategory targeting attribute available. When
        unset or empty the treatment applies to every prompt the enrolled
        user sees; when set and falsy the prompt falls back to the default
        copy and no exposure event is recorded.

[Verzeichnis aufwärts0.183unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-09-28]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1126864
#Domains=2039723