зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1716734 - Updated comment in nsIPrincipal.idl r=ckerschb DONTBUILD
Updated the origin attributes comment to use the current delimiter Differential Revision: https://phabricator.services.mozilla.com/D117990
This commit is contained in:
Родитель
6d154c1ed3
Коммит
35d147115f
|
@ -87,7 +87,7 @@ class OriginAttributes : public dom::OriginAttributesDictionary {
|
|||
}
|
||||
|
||||
// Serializes/Deserializes non-default values into the suffix format, i.e.
|
||||
// |!key1=value1&key2=value2|. If there are no non-default attributes, this
|
||||
// |^key1=value1&key2=value2|. If there are no non-default attributes, this
|
||||
// returns an empty string.
|
||||
void CreateSuffix(nsACString& aStr) const;
|
||||
|
||||
|
@ -100,7 +100,7 @@ class OriginAttributes : public dom::OriginAttributesDictionary {
|
|||
[[nodiscard]] bool PopulateFromSuffix(const nsACString& aStr);
|
||||
|
||||
// Populates the attributes from a string like
|
||||
// |uri!key1=value1&key2=value2| and returns the uri without the suffix.
|
||||
// |uri^key1=value1&key2=value2| and returns the uri without the suffix.
|
||||
[[nodiscard]] bool PopulateFromOrigin(const nsACString& aOrigin,
|
||||
nsACString& aOriginNoSuffix);
|
||||
|
||||
|
|
|
@ -392,7 +392,7 @@ interface nsIPrincipal : nsISupports
|
|||
readonly attribute ACString originNoSuffix;
|
||||
|
||||
/**
|
||||
* A string of the form !key1=value1&key2=value2, where each pair represents
|
||||
* A string of the form ^key1=value1&key2=value2, where each pair represents
|
||||
* an attribute with a non-default value. If all attributes have default
|
||||
* values, this is the empty string.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче