src/third_party/mozjs/extract/intl/l10n/L10nRegistry.jsm
/**
   * Removes sources from the L10nRegistry.
   *
   * Notice: Each invocation of this method flushes any changes out to extant
   * content processes, which is expensive. Please coalesce multiple removals
   * into a single sourceNames array and then call this method once.
   *
   * @param {Array<String>} sourceNames
   */
Removes sources from the L10nRegistry.
Notice: Each invocation of this method flushes any changes out to extant
content processes, which is expensive. Please coalesce multiple removals
into a single sourceNames array and then call this method once.

@param {Array} sourceNames
Removes sources from the L10nRegistry . Notice : Each invocation of this method flushes any changes out to extant content processes which is expensive . Please coalesce multiple removals into a single sourceNames array and then call this method once . @param { Array } sourceNames
removeSources(sourceNames) {
    for (const sourceName of sourceNames) {
      this.sources.delete(sourceName);
    }
    if (isParentProcess && sourceNames.length > 0) {
      this._synchronizeSharedData();
      Services.locale.availableLocales = this.getAvailableLocales();
    }
  }
removeSources ( sourceNames ) { for ( const sourceName of sourceNames ) { this . sources . delete ( sourceName ) ; } if ( isParentProcess && sourceNames . length > 0 ) { this . _synchronizeSharedData ( ) ; Services . locale . availableLocales = this . getAvailableLocales ( ) ; } }
Removes sources from the L10nRegistry.
Removes sources from the L10nRegistry .