forked from mirrors/gecko-dev
		
	Bug 554903 - Remove microsummaries.xpt reference from package-manifest and fix a left-over, r=sdwilsh
This commit is contained in:
		
							parent
							
								
									1347890116
								
							
						
					
					
						commit
						e65cfac3c5
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		|  | @ -196,7 +196,6 @@ | ||||||
| #endif | #endif | ||||||
| @BINPATH@/components/locale.xpt | @BINPATH@/components/locale.xpt | ||||||
| @BINPATH@/components/lwbrk.xpt | @BINPATH@/components/lwbrk.xpt | ||||||
| @BINPATH@/components/microsummaries.xpt |  | ||||||
| #ifndef WINCE | #ifndef WINCE | ||||||
| @BINPATH@/components/migration.xpt | @BINPATH@/components/migration.xpt | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -2161,7 +2161,7 @@ function sanitizeName(aName) { | ||||||
| 
 | 
 | ||||||
|   // If our input had not enough valid characters, use a random name.
 |   // If our input had not enough valid characters, use a random name.
 | ||||||
|   if (name.length < MIN_GENERATOR_NAME_LENGTH) |   if (name.length < MIN_GENERATOR_NAME_LENGTH) | ||||||
|     name = Math.random().toString(36).substr(2); |     name = Math.random().toString(36).replace(/^.*\./, ''); | ||||||
| 
 | 
 | ||||||
|   // Force max length.
 |   // Force max length.
 | ||||||
|   return name.substring(0, MAX_GENERATOR_NAME_LENGTH); |   return name.substring(0, MAX_GENERATOR_NAME_LENGTH); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Marco Bonardo
						Marco Bonardo