mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Fix comments on Get[ASCII|UTF]Origin. No bug. r=bz
This commit is contained in:
parent
3de1190d72
commit
4de63f5137
@ -1495,10 +1495,12 @@ public:
|
||||
* origin is set to 'null'.
|
||||
*
|
||||
* The ASCII versions return a ASCII strings that are puny-code encoded,
|
||||
* suitable for for example header values. The UTF versions return strings
|
||||
* suitable for, for example, header values. The UTF versions return strings
|
||||
* containing international characters.
|
||||
*
|
||||
* aPrincipal/aOrigin must not be null.
|
||||
* @pre aPrincipal/aOrigin must not be null.
|
||||
*
|
||||
* @note this should be used for HTML5 origin determination.
|
||||
*/
|
||||
static nsresult GetASCIIOrigin(nsIPrincipal* aPrincipal,
|
||||
nsCString& aOrigin);
|
||||
|
Loading…
Reference in New Issue
Block a user