formatURL - 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.
aFormat | string Unformatted URL. |
The formatted URL. |
formatURLPref - 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.
aPref | string Preference name. |
The formatted URL returned by formatURL(), or "about:blank". |