Firefox Source Docs Logo

Overview

  • A Glossary of Common Terms
  • A Quick Guide to Mozilla Applications

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
    • Frontend Code Review Best Practices
    • Command Line Parameters
    • Browser Startup
    • Category manager indirection (callModulesFromCategory)
    • CustomizableUI Component
    • Enterprise Policies
    • Form Autofill
    • Firefox Home (New Tab)
    • Firefox Welcome Experience (about:welcome)
    • Installer
    • Installation Attribution
    • Default Browser Agent
    • Migration
    • PageDataService
    • Places
    • Messaging System
    • Search
      • Application Search Engines
      • Preferences
      • Telemetry
    • tabbrowser
    • Touch Bar
    • UITour
    • Firefox Branding
    • Storybook for Firefox
    • Reusable UI widgets
    • Other types of UI Widgets
    • Lit
    • XUL and HTML
    • Design tokens
    • JSON design tokens
    • Backup Component
    • Sidebar
  • DOM
  • Editor
  • Style system (CSS) & Layout
  • Graphics
  • Processes, Threads and IPC
  • Firefox DevTools Contributor Docs
  • Toolkit
  • SpiderMonkey
  • JS Loader
  • GeckoView
  • Fenix
  • Focus for Android
  • WebIDL
  • libpref
  • Networking
  • Remote Protocols
  • Services
  • Permissions
  • File Handling
  • Firefox on macOS
  • Firefox on Windows
  • Firefox AI Runtime
  • Accessibility
  • Media Playback
  • Code quality
  • Writing Rust Code
  • Rust Components
  • Gecko Profiler
  • Performance
  • Database bindings (SQLite, KV, …)
  • XPCOM
  • NSPR
  • Network Security Services (NSS)
  • Web Security Checks in Gecko

The Firefox Build System

  • Mach
  • Pushing to Try
  • Build System
  • Firefox CI and Taskgraph
  • Managing Documentation
  • Vendoring Third Party Components

Testing & Test Infrastructure

  • Automated Testing
  • Understanding Treeherder Results
  • Sheriffed intermittent failures
  • 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
  • TPS
  • web-platform-tests
  • GTest
  • Fuzzing
  • Sanitizer
  • Performance Testing
  • Code coverage
  • Testing & Debugging Rust Code

Releases & Updates

  • Mozilla Update Infrastructure
  • Watershed Updates
  • Desupport Updates
  • Update Verify

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
    • Hidden
  • Telemetry
    • Glossary
    • Definitions
    • Search probes relevant to front-end searches
      • BrowserSearchTelemetry.sys.mjs
        • SEARCH_COUNTS - SAP usage
        • browser.engagement.navigation.*
      • SearchSERPTelemetry.sys.mjs
        • browser.search.content.*
        • browser.search.withads.*
        • browser.search.adclicks.*
Previous Next

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