1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/ssl/public/nsIAssociatedContentSecurity.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/** 1.9 + * This interface is used to cache associated (sub) content security 1.10 + * state. That is determined asynchronously based on callback notification 1.11 + * while loading the content and its sub content particles. 1.12 + * 1.13 + * Some optimizations like bfcaching removes these callback notifications 1.14 + * and therefor the subcontent state could not be determined. In such 1.15 + * a case it is loaded from this object stored in nsIChannel.securityInfo. 1.16 + */ 1.17 + 1.18 +#include "nsISupports.idl" 1.19 + 1.20 +[scriptable, uuid(a8285dae-f125-454f-9d1b-089e3f01b2c4)] 1.21 +interface nsIAssociatedContentSecurity : nsISupports 1.22 +{ 1.23 + attribute long countSubRequestsBrokenSecurity; 1.24 + attribute long countSubRequestsNoSecurity; 1.25 + void flush(); 1.26 +};