Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  nsIInterceptionInfo.idl

  Sprache: C
 

Spracherkennung für: .idl vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: ft=cpp tw=78 sw=2 et ts=2 sts=2 cin
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "nsIContentPolicy.idl"

interface nsIPrincipal;
interface nsIRedirectHistoryEntry;

%{C++
#include "nsTArray.h"
%}

[ref] native nsIRedirectHistoryEntryArray(const nsTArray<nsCOMPtr<nsIRedirectHistoryEntry>>);
/**
 * nsIInterceptionInfo is used to record the needed information of the
 * InterceptedHttpChannel.
 * This infomration need to be propagated to the new channel which created by
 * FetchEvent.request or ServiceWorker NavigationPreload.
 */
[scriptable, builtinclass, uuid(8b9cd81f-3cd1-4f6a-9086-92a9bbf055f4)]
interface nsIInterceptionInfo : nsISupports
{
  /**
   * InterceptedHttpChannel's triggering principal
   */
  [noscript, notxpcom, nostdcall, binaryname(TriggeringPrincipal)]
  nsIPrincipal binaryTriggeringPrincipal();

  [noscript, notxpcom, nostdcall, binaryname(SetTriggeringPrincipal)]
  void binarySetTriggeringPrincipal(in nsIPrincipal aPrincipal);

  /**
   * InterceptedHttpChannel's content policy type
   */
  [noscript, notxpcom, nostdcall, binaryname(ContentPolicyType)]
  nsContentPolicyType binaryContentPolicyType();

  [noscript, notxpcom, nostdcall, binaryname(ExternalContentPolicyType)]
  nsContentPolicyType binaryExternalContentPolicyType();

  [noscript, notxpcom, nostdcall, binaryname(SetContentPolicyType)]
  void binarySetContentPolicyType(in nsContentPolicyType aContentPolicyType);

%{ C++
  inline ExtContentPolicyType GetExtContentPolicyType()
  {
    return static_cast<ExtContentPolicyType>(ExternalContentPolicyType());
  }
%}

  /**
   * The InterceptedHttpChannel's redirect chain
   */
  [noscript, notxpcom, nostdcall, binaryname(RedirectChain)]
  nsIRedirectHistoryEntryArray binaryRedirectChain();

  [noscript, notxpcom, nostdcall, binaryname(SetRedirectChain)]
  void binarySetRedirectChain(
      in nsIRedirectHistoryEntryArray aRedirectChain);

  /**
   * The InterceptedHttpChannel is a third party channel or not.
   */
  [noscript, notxpcom, nostdcall, binaryname(FromThirdParty)]
  boolean binaryFromThirdParty();

  [noscript, notxpcom, nostdcall, binaryname(SetFromThirdParty)]
  void binarySetFromThirdParty(in boolean aFromThirdParty);
};

¤ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet am  2026-06-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik