B2G/gecko/browser/components/places/tests/browser/browser_library_search.js
/**
 * Returns the single nsINavHistoryQuery represented by a given place URI.
 *
 * @param  aPlaceURI
 *         a URI that represents a single query
 * @return an nsINavHistoryQuery object
 */
Returns the single nsINavHistoryQuery represented by a given place URI.
@param  aPlaceURI
a URI that represents a single query
@return an nsINavHistoryQuery object
Returns the single nsINavHistoryQuery represented by a given place URI . @param aPlaceURI a URI that represents a single query @return an nsINavHistoryQuery object
function queryStringToQuery(aPlaceURI) {
  let queries = {};
  PlacesUtils.history.queryStringToQueries(aPlaceURI, queries, {}, {});
  return queries.value[0];
}
function queryStringToQuery ( aPlaceURI ) { let queries = { } ; PlacesUtils . history . queryStringToQueries ( aPlaceURI , queries , { } , { } ) ; return queries . value [ 0 ] ; }
Returns the single nsINavHistoryQuery represented by a given place URI.
Returns the single nsINavHistoryQuery represented by a given place URI .