Comment 43 for bug 306017

Revision history for this message
In , Adam Dane (unusualtears) wrote :

Created attachment 605120
WIP v2: Implements sessionstore, restore-to-default on locationbar edit

This iteration saves/restores the search data per tab across sessions. That data is the engine, query, and whether the engine/query has been modified by the user. That third piece of data is used for determining whether to reset the engine/query when the user manually navigates (via the location bar).

This patch implements that feature, but it be improved upon: certain actions don't reset that might be expected to (eg, clicking on a site in the New Tab page).

Opening background tabs will now use the search data from the opening tab. When the tab is opened from a tab without an engine (eg, the Addons Manager), it just uses the default engine.