Bug 1865666 - Fix HTTPS-Only mode security flags doc comment order r=necko-reviewers,jesup DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D196977
This commit is contained in:
Manuel Bucher 2023-12-21 12:46:52 +00:00
parent be907485bd
commit 6fc9cd00dd

View File

@ -464,12 +464,6 @@ interface nsILoadInfo : nsISupports
*/
const unsigned long HTTPS_ONLY_UNINITIALIZED = (1 << 0);
/**
* Indicates that the request will get upgraded, and the HTTPS-Only
* StreamListener got registered.
*/
const unsigned long HTTPS_ONLY_UPGRADED_LISTENER_NOT_REGISTERED = (1 << 1);
/**
* Indicates that this is the first time the request gets upgraded, and thus
* the HTTPS-Only StreamListener hasn't been registered yet. Even though there
@ -477,6 +471,12 @@ interface nsILoadInfo : nsISupports
* because of redirects), the StreamListener only has to be attached to one
* channel.
*/
const unsigned long HTTPS_ONLY_UPGRADED_LISTENER_NOT_REGISTERED = (1 << 1);
/**
* Indicates that the request will get upgraded, and the HTTPS-Only
* StreamListener got registered.
*/
const unsigned long HTTPS_ONLY_UPGRADED_LISTENER_REGISTERED = (1 << 2);
/**