« XUL Reference home
addSession( session ) Obsolete since Gecko 26
Return type: nsIAutoCompleteSession
Adds a new session object to the autocomplete widget. This can be used to create a customized autocomplete results list. The argument should be an object which implements the nsIAutoCompleteSession interface. This method returns the object passed in.