Bug 1795723 - Unified extensions UI should support High Contrast Mode. r=ayeddi,deskt...
[gecko.git] / dom / security / nsIHttpsOnlyModePermission.idl
blob7eabdb67151e45ff5ba6849746a4ebc659f58b4a
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
6 /**
7 * An interface to test for cookie permissions
8 */
9 [scriptable, uuid(73f4f039-d6ff-41a7-9eb3-00db57b0b7f4)]
10 interface nsIHttpsOnlyModePermission : nsISupports
12 /**
13 * nsIPermissionManager permission values
15 const uint32_t LOAD_INSECURE_DEFAULT = 0;
16 const uint32_t LOAD_INSECURE_ALLOW = 1;
17 const uint32_t LOAD_INSECURE_BLOCK = 2;
19 /**
20 * additional values which do not match
21 * nsIPermissionManager. Keep space available to allow nsIPermissionManager to
22 * add values without colliding. ACCESS_SESSION is not directly returned by
23 * any methods on this interface.
25 const uint32_t LOAD_INSECURE_ALLOW_SESSION = 9;