Name Description Size Coverage
actors -
AIFeature.sys.mjs Base class for AI features in Firefox. Each feature manages its own preferences and artifacts. State Hierarchy: - isAllowed: Can the feature work in this environment? (locale, region, platform checks) - isBlocked: Is the feature blocked? (environmental or policy restrictions) - isEnabled: Is the feature currently active? (user prefs) - available: !isEnabled && !isBlocked (feature can be turned on) @interface 4460 -
backends -
components.conf 260 -
content -
docs -
jar.mn 3639 -
metrics.yaml 16248 -
ml.d.ts 8439 -
MLTelemetry.sys.mjs MLTelemetry provides a mechanism tracking a "flow" of operations related to a machine learning feature. A flow is a sequence of related events that represent a single, complete user-level operation, for example generating a summary for a page. This class uses a correlation ID pattern where flowId is passed to each method, allowing flexible tracking across different parts of the system. @example new MLTelemetry({ featureId: "ml-suggest-intent" }).sessionStart({ interaction: "button_click" }); @example new MLTelemetry({ featureId: "ml-suggest-intent", flowId: "1234-5678" }).sessionStart({ interaction: "keyboard_shortcut"}); 12912 -
MLUtils.cpp 2791 -
MLUtils.h 637 -
moz.build 1036 -
nsIMLUtils.idl Computes the optimal concurrency level for ML workloads on the CPU. See the implementation for details. Returns: - An integer representing the recommended concurrency level. 876 -
security -
tests -
tools -
tsconfig.json .mjs", "* 337 -
vendor -