[scriptable, uuid(803e510b-4b27-4ba2-a16d-bb5fa953c166)]
Constants
Attributes
A nsIURI corresponding to the engine's icon, stored locally. May be null.
Methods
Adds a parameter to the search engine's submission data. This should only
be called on engines created via addEngineWithDetails.
@param name
The parameter's name. Must not be null.
@param value
The value to pass. If value is "{searchTerms}", it will be
substituted with the user-entered data when retrieving the
submission. Must not be null.
@param responseType
Since an engine can have several different request URLs,
differentiated by response types, this parameter selects
a request to add parameters to. If null, will default
to "text/html"
@throws NS_ERROR_FAILURE if the search engine is read-only.
@throws NS_ERROR_INVALID_ARG if name or value are null.
Gets a nsISearchSubmission object that contains information about what to
send to the search engine, including the URI and postData, if applicable.
@param data
Data to add to the submission object.
i.e. the search terms.
@param responseType
The MIME type that we'd like to receive in response
to this submission. If null, will default to "text/html".
@returns A nsISearchSubmission object that contains information about what
to send to the search engine. If no submission can be
obtained for the given responseType, returns null.
