nsIAssociatedContentSecurity.idl 895 B

123456789101112131415161718192021222324
  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/. */
  4. /**
  5. * This interface is used to cache associated (sub) content security
  6. * state. That is determined asynchronously based on callback notification
  7. * while loading the content and its sub content particles.
  8. *
  9. * Some optimizations like bfcaching removes these callback notifications
  10. * and therefor the subcontent state could not be determined. In such
  11. * a case it is loaded from this object stored in nsIChannel.securityInfo.
  12. */
  13. #include "nsISupports.idl"
  14. [scriptable, uuid(a8285dae-f125-454f-9d1b-089e3f01b2c4)]
  15. interface nsIAssociatedContentSecurity : nsISupports
  16. {
  17. attribute long countSubRequestsBrokenSecurity;
  18. attribute long countSubRequestsNoSecurity;
  19. void flush();
  20. };