Comment on attachment 503735
Change loadSearch as well (and remove references to defaultEngine from comments)
nsContextMenu.js drives the engine name that shows up in the context menu, so with the current patch, it'll use the right engine but show the wrong text.
See isTextSelection in that file for a code path similar to the one you already changed.
Comment on attachment 503735
Change loadSearch as well (and remove references to defaultEngine from comments)
nsContextMenu.js drives the engine name that shows up in the context menu, so with the current patch, it'll use the right engine but show the wrong text.
See isTextSelection in that file for a code path similar to the one you already changed.
if (isElementVisib le(BrowserSearc h.searchBar) )