Firefox Source Docs Logo

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

  • Firefox
    • Address Bar
    • Background Updates
    • Browser Usage Telemetry
    • Command Line Parameters
    • Enterprise Policies
    • Form Autofill
    • Firefox Home (New Tab)
    • Installer
    • Default Browser Agent
    • PageDataService
    • Messaging System
    • Search
      • Application Search Engines
      • Telemetry
    • tabbrowser
    • Touch Bar
    • UITour
    • WebPayments UI
  • DOM
  • Editor
  • Layout & CSS
  • Graphics
  • Processes, Threads and IPC
  • Firefox DevTools Contributor Docs
  • Toolkit
  • SpiderMonkey
  • Welcome to GeckoView’s documentation!
  • WebIDL
  • libpref
  • Networking
  • Remote Protocols
  • Services
  • File Handling
  • Firefox on macOS
  • Accessibility
  • Code quality
  • Writing Rust Code
  • Gecko Profiler
  • Performance
  • XPCOM
  • Network Security Services (NSS)

The Firefox Build System

  • Mach
  • Pushing to Try
  • Build System
  • TaskCluster Task-Graph Generation
  • Managing Documentation

Testing & Test Infrastructure

  • Testing Policy
  • Configuration Changes
  • Marionette
  • geckodriver
  • XPCShell tests
  • GTest
  • Fuzzing
  • Sanitizer
  • Performance Testing
  • Code coverage
  • Testing & Debugging Rust Code

Localization & Internationalization

  • Internationalization
  • Localization

Firefox and Python

  • mozbase
  • Using third-party Python packages

Metrics Collected in Firefox

  • Metrics
Firefox Source Docs
  • »
  • Firefox »
  • Search
  • 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
  • Telemetry
    • Definitions
    • Search probes relevant to front-end searches
      • BrowserSearchTelemetry.jsm
      • SearchSERPTelemetry.jsm
Previous Next

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