diff options
Diffstat (limited to 'toolkit/components')
-rw-r--r-- | toolkit/components/search/orginal/nsSearchService.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/components/search/orginal/nsSearchService.js b/toolkit/components/search/orginal/nsSearchService.js index 56d378b39..c7b847905 100644 --- a/toolkit/components/search/orginal/nsSearchService.js +++ b/toolkit/components/search/orginal/nsSearchService.js @@ -3058,6 +3058,11 @@ SearchService.prototype = { continue; } + // Write out serialized search engine files when rebuilding cache. + if (!engine._readOnly && engine._file) { + engine._serializeToFile(); + } + let cacheKey = parent.path; if (!cache.directories[cacheKey]) { let cacheEntry = {}; |