Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  UntrustedModules.h   Sprache: C

 

/* 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/. */


#ifndef telemetry_UntrustedModules_h_
#define telemetry_UntrustedModules_h_

#include "jsapi.h"
#include "mozilla/dom/Promise.h"

namespace mozilla {
namespace Telemetry {

/**
 * This function returns a promise that asynchronously processes and gathers
 * untrusted module data. The promise is either resolved with the JS object
 * ping payload, or is rejected upon failure.
 * If the processing succeeds, the Glean "third-party-modules" ping is
 * submitted before the promise resolves with the JS object payload.
 */

nsresult SubmitAndGetUntrustedModulePayload(JSContext* aCx,
                                            dom::Promise** aPromise);

/**
 * This function returns a promise that asynchronously processes and gathers
 * untrusted module data. The promise is either resolved with the JS object
 * ping payload, or is rejected upon failure.
 *
 * @param aFlags [in] Combinations of the flags defined under nsITelemetry.
 *               (See "Flags for getUntrustedModuleLoadEvents"
 *                in nsITelemetry.idl)
 */

nsresult GetUntrustedModuleLoadEvents(uint32_t aFlags, JSContext* cx,
                                      dom::Promise** aPromise);

}  // namespace Telemetry
}  // namespace mozilla

#endif  // telemetry_UntrustedModules_h_

Messung V0.5 in Prozent
C=89 H=93 G=90

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-10-11) ¤

*© 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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723