зеркало из https://github.com/mozilla/pjs.git
Bug 554903 - Remove microsummaries.xpt reference from package-manifest and fix a left-over, r=sdwilsh
This commit is contained in:
Родитель
2eea80211c
Коммит
7ab0c2da46
|
@ -196,7 +196,6 @@
|
|||
#endif
|
||||
@BINPATH@/components/locale.xpt
|
||||
@BINPATH@/components/lwbrk.xpt
|
||||
@BINPATH@/components/microsummaries.xpt
|
||||
#ifndef WINCE
|
||||
@BINPATH@/components/migration.xpt
|
||||
#endif
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче