Reproducible on: Firefox 34.0.5 (20141126041045), Firefox 35.0b5 (20141218174327), Aurora 36.0a2 (2014-12-18), Nightly 37.0a1 (2014-12-18). Affected platform(s): Ubuntu 12.04 LTS 32-bit. STR: 1. Launch Firefox with a clean profile. 2. In the search bar displayed in the toolbar, type a random search term (e.g. test). 3. Reduce the width of the browser window until the search bar is no longer displayed. 4. Check the Browser Console. Expected result: The user is able to narrow down the width of the browser and move the search bar into the overflow menu without encountering any issues. Actual result: Once the search bar is moved into the overflow menu, the previously typed search term disappears and nsSearchSuggestions.js:136 throws the following error: > TypeError: searchParam is null nsSearchSuggestions.js:136 Notes: (a) The error message and its origin varies from branch to branch: (a.1) on Firefox 34.0.5: > searchParam is null nsSearchSuggestions.js:132 (a.2) on Aurora 36.0a2 (2014-12-18) and Nightly 37.0a1 (2014-12-18): > TypeError: searchParam is null nsSearchSuggestions.js:136:8 (b) This issue *does not* affect Windows 8.1 32-bit, Mac OS X 10.9.5. (c) This issue *does not* affect Firefox 33.1.1 (20141113143407).