# 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/.

# URL bar and search-related preferences

- name: browser.urlbar.trending.featureGate
  value: false

- name: browser.urlbar.weather.featureGate
  value: false

- name: browser.urlbar.quickactions.enabled
  value: true

- name: browser.urlbar.clipboard.featureGate
  value: true

- name: browser.urlbar.trimHttps
  value: true

- name: browser.urlbar.untrimOnUserInteraction.featureGate
  value: true

- name: media.videocontrols.picture-in-picture.urlbar-button.enabled
  value: true
  locked: true

- name: browser.search.suggest.enabled
  value: false

- name: browser.search.suggest.enabled.private
  value: false

- name: browser.urlbar.quicksuggest.enabled
  value: false
  locked: true

- name: browser.urlbar.suggest.quicksuggest.sponsored
  value: false
  locked: true

- name: browser.urlbar.suggest.quicksuggest.nonsponsored
  value: false
  locked: true

- name: browser.urlbar.groupLabels.enabled
  value: false

- name: browser.urlbar.keepPanelOpenDuringImeComposition
  value: true # IMPORTANT: Fixes closing the urlbar when on some languages

- name: browser.formfill.enable
  value: false

- name: browser.urlbar.suggest.topsites
  value: true
  locked: true

# See https://github.com/zen-browser/desktop/issues/7248
# We've submitted a patch to Firefox at https://bugzilla.mozilla.org/show_bug.cgi?id=2018499
- name: browser.urlbar.closeOnWindowBlur
  value: false

- name: browser.urlbar.trustPanel.featureGate
  value: false
