UrlbarMuxer Referenceο
- class UrlbarMuxer()ο
Base class for a muxer. The muxer scope is to sort a given list of results.
- UrlbarMuxer.nameο
Unique name for the muxer, used by the context to sort results. Not using a unique name will cause the newest registration to win.
- UrlbarMuxer.sort(_queryContext, _unsortedResults)ο
Sorts queryContext results in-place.
- Arguments:
_queryContext (UrlbarQueryContext) β the context to sort results for.
_unsortedResults (Array) β The array of UrlbarResult that is not sorted yet.