nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)Variable names can contain 'A-Z' letters and '_' characters.
Mozilla applications linking to Mozilla websites are strongly encouraged to use URLs of the following format:
http[s]://%SERVICE%.mozilla.[com|org]/%LOCALE%/
AString formatURL(in AString aFormat); |
AString formatURLPref(in AString aPref); |
Formats a string URL.
The set of known variables is predefined. If a variable is unknown, it is left unchanged and a non-fatal error is reported.
AString formatURL( in AString aFormat );
aFormat
The formatted URL.
Formats a string URL stored in a preference.
If the preference value cannot be retrieved, a fatal error is reported and the "about:blank" URL is returned.
AString formatURLPref( in AString aPref );
aPref
The formatted URL returned by formatURL()
, or "about:blank".