mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
This patches fixes a bug where hitting Cmd+F while the filter input of the console was focused was triggering codeMirror search addon, displaying the search UI *in* JsTerm. To prevent this, we add the ability for any consumer of the Editor component to disable the search addon. In the editor, in such case, we simply don't initialize the event listeners that activate the search addon. A test case is added to ensure we don't regress this. Differential Revision: https://phabricator.services.mozilla.com/D11037