/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"nsISupports.idl"
[scriptable, builtinclass, uuid(746da1ff-52ce-46be-9256-78b83c9a0523)]
interface nsIModelContextService : nsISupports
{ // This function will return errors if the `dom.modelcontext.enabled` // pref is not true, as a precautionary measure.
[implicit_jscontext]
Promise getToolsForWindow(in unsignedlonglong innerWindowId);
// WARNING: this returns a promise can resolve with a content-supplied // value (after a structured clone). This value is untrusted and dangerous // to use. // This function will return errors if the `dom.modelcontext.enabled` // pref is not true, as a precautionary measure.
[implicit_jscontext]
Promise invokeTool(in unsignedlonglong innerWindowId,
in ACString toolName,
[optional] in jsval input);
};
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.18 Sekunden
(vorverarbeitet am 2026-08-25)
¤
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.