B2G/gecko/browser/components/feeds/src/WebContentConverter.js
/**
   * Determines if there is a type with a particular uri registered for the 
   * specified content type already.
   * @param   contentType
   *          The content type that the uri handles
   * @param   uri
   *          The uri of the 
   */
Determines if there is a type with a particular uri registered for the
specified content type already.
@param   contentType
The content type that the uri handles
@param   uri
The uri of the
Determines if there is a type with a particular uri registered for the specified content type already . @param contentType The content type that the uri handles @param uri The uri of the
function WCCR__typeIsRegistered(contentType, uri) {
    if (!(contentType in this._contentTypes))
      return false;
    var services = this._contentTypes[contentType];
    for (var i = 0; i < services.length; ++i) {
      if (services[i].uri == uri)
        return true;
    }
    return false;
  }
function WCCR__typeIsRegistered ( contentType , uri ) { if ( ! ( contentType in this . _contentTypes ) ) return false ; var services = this . _contentTypes [ contentType ] ; for ( var i = 0 ; i < services . length ; ++ i ) { if ( services [ i ] . uri == uri ) return true ; } return false ; }
Determines if there is a type with a particular uri registered for the
 specified content type already.
Determines if there is a type with a particular uri registered for the specified content type already .
// This uri has already been registered