Firefox Source Docs Logo

Quick search

Getting Started

  • Getting Set Up To Work On The Firefox Codebase

Working On Firefox

  • Working on Firefox
  • Bug Handling

Firefox User Guide

  • Firefox DevTools User Docs

Source Code Documentation

  • Governance
  • Firefox Front-end
    • Address Bar
    • Browser Usage Telemetry
    • Command Line Parameters
    • Enterprise Policies
    • Form Autofill
    • Firefox Home (New Tab)
    • Installer
    • Installation Attribution
    • Default Browser Agent
    • Migration
    • PageDataService
    • Places
    • Messaging System
    • Search
      • Application Search Engines
      • Preferences
      • Telemetry
    • tabbrowser
    • Touch Bar
    • UITour
    • Firefox Branding
  • DOM
  • Editor
  • Layout & CSS
  • Graphics
  • Processes, Threads and IPC
  • Firefox DevTools Contributor Docs
  • Toolkit
  • SpiderMonkey
  • GeckoView
  • WebIDL
  • libpref
  • Networking
  • Remote Protocols
  • Services
  • File Handling
  • Firefox on macOS
  • Firefox on Windows
  • Accessibility
  • Code quality
  • Writing Rust Code
  • Gecko Profiler
  • Performance
  • XPCOM
  • NSPR
  • Network Security Services (NSS)

The Firefox Build System

  • Mach
  • Pushing to Try
  • Build System
  • Firefox CI and Taskgraph
  • Managing Documentation

Testing & Test Infrastructure

  • Automated Testing
  • Turning on Firefox tests for a new configuration
  • Avoiding intermittent tests
  • Testing Policy
  • Configuration Changes
  • Browser chrome mochitests
  • Chrome Tests
  • Marionette
  • geckodriver
  • Test Verification
  • WebRender Tests
  • Mochitest
  • XPCShell tests
  • web-platform-tests
  • GTest
  • Fuzzing
  • Sanitizer
  • Performance Testing
  • Code coverage
  • Testing & Debugging Rust Code

Releases & Updates

  • Mozilla Update Infrastructure
  • Watershed Updates

Localization & Internationalization

  • Internationalization
  • Localization

Firefox and Python

  • mozbase
  • Using third-party Python packages

Metrics Collected in Firefox

  • Metrics
Firefox Source Docs
  • Firefox Front-end
  • Search
  • Report an issue / View page source

Search¶

This document describes the implementation of parts of Firefox’s search interfaces.

The search area covers:

  • Search bar on the toolbar

  • In-content search

  • One-off search buttons on both the search and address bars

Search Engine handling is taken care of with the toolkit Search Service.

Most of the search code lives in browser/components/search.

  • Application Search Engines
    • Icons
      • Icon Requirements
      • Updating Icons
  • Preferences
    • User Exposed
    • Hidden
  • Telemetry
    • Glossary
    • Definitions
    • Search probes relevant to front-end searches
      • BrowserSearchTelemetry.sys.mjs
      • SearchSERPTelemetry.sys.mjs
Previous Next

Built with Sphinx using a theme provided by Read the Docs.