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.