diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in index 0762d1f0f6c..6505ed935b1 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -196,7 +196,6 @@ #endif @BINPATH@/components/locale.xpt @BINPATH@/components/lwbrk.xpt -@BINPATH@/components/microsummaries.xpt #ifndef WINCE @BINPATH@/components/migration.xpt #endif diff --git a/toolkit/components/places/src/nsMicrosummaryService.js b/toolkit/components/places/src/nsMicrosummaryService.js index 31b6ea25433..0287cebb017 100644 --- a/toolkit/components/places/src/nsMicrosummaryService.js +++ b/toolkit/components/places/src/nsMicrosummaryService.js @@ -2161,7 +2161,7 @@ function sanitizeName(aName) { // If our input had not enough valid characters, use a random name. if (name.length < MIN_GENERATOR_NAME_LENGTH) - name = Math.random().toString(36).substr(2); + name = Math.random().toString(36).replace(/^.*\./, ''); // Force max length. return name.substring(0, MAX_GENERATOR_NAME_LENGTH);