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"
7 * An interface to test for cookie permissions
9 [scriptable
, uuid(73f4f039
-d6ff
-41a7
-9eb3
-00db57b0b7f4
)]
10 interface nsIHttpsOnlyModePermission
: nsISupports
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;
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;