From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../components/telemetry/docs/data/environment.rst | 622 +++++++++++++++++++++ 1 file changed, 622 insertions(+) create mode 100644 toolkit/components/telemetry/docs/data/environment.rst (limited to 'toolkit/components/telemetry/docs/data/environment.rst') diff --git a/toolkit/components/telemetry/docs/data/environment.rst b/toolkit/components/telemetry/docs/data/environment.rst new file mode 100644 index 0000000000..77d3d1ea6e --- /dev/null +++ b/toolkit/components/telemetry/docs/data/environment.rst @@ -0,0 +1,622 @@ + +Environment +=========== + +The environment consists of data that is expected to be characteristic for performance and other behavior and not expected to change too often. + +Changes to most of these data points are detected (where possible and sensible) and will lead to a session split in the :doc:`main-ping`. +The environment data may also be submitted by other ping types. + +*Note:* This is not submitted with all ping types due to privacy concerns. This and other data is inspected under the `data collection policy `_. + +Some parts of the environment must be fetched asynchronously at startup. We don't want other Telemetry components to block on waiting for the environment, so some items may be missing from it until the async fetching finished. +This currently affects the following sections: + +- profile +- add-ons +- services + + +Structure: + +.. code-block:: js + + { + build: { + applicationId: , // nsIXULAppInfo.ID + applicationName: , // "Firefox" + architecture: , // e.g. "x86", build architecture for the active build + buildId: , // e.g. "20141126041045" + version: , // e.g. "35.0" + vendor: , // e.g. "Mozilla" + displayVersion: , // e.g. "35.0b1" + platformVersion: , // e.g. "35.0" + xpcomAbi: , // e.g. "x86-msvc" + updaterAvailable: , // Whether the app was built with app update available (MOZ_UPDATER) + }, + settings: { + addonCompatibilityCheckEnabled: , // Whether application compatibility is respected for add-ons + blocklistEnabled: , // true on failure + isDefaultBrowser: , // whether Firefox is the default browser. On Windows, this is operationalized as whether Firefox is the default HTTP protocol handler and the default HTML file handler. + defaultSearchEngine: , // e.g. "yahoo" + defaultSearchEngineData: {, // data about the current default engine + name: , // engine name, e.g. "Yahoo"; or "NONE" if no default + loadPath: , // where the engine line is located; missing if no default + origin: , // 'default', 'verified', 'unverified', or 'invalid'; based on the presence and validity of the engine's loadPath verification hash. + submissionURL: // set for default engines or well known search domains + }, + defaultPrivateSearchEngine: , // e.g. "duckduckgo" + defaultPrivateSearchEngine: {, + // data about the current default engine for private browsing mode. Same as defaultSearchEngineData. + }, + launcherProcessState: , // optional, values correspond to values of mozilla::LauncherRegistryInfo::EnabledState enum + e10sEnabled: , // whether e10s is on, i.e. browser tabs open by default in a different process + e10sMultiProcesses: , // Maximum number of processes that will be launched for regular web content + fissionEnabled: , // whether fission is enabled this session, and subframes can load in a different process + telemetryEnabled: , // false on failure + locale: , // e.g. "it", null on failure + intl: { + requestedLocales: [ , ... ], // The locales that are being requested. + availableLocales: [ , ... ], // The locales that are available for use. + appLocales: [ , ... ], // The negotiated locales that are being used. + systemLocales: [ , ... ], // The locales for the OS. + regionalPrefsLocales: [ , ... ], // The regional preferences for the OS. + acceptLanguages: [ , ... ], // The languages for the Accept-Languages header. + }, + update: { + channel: , // e.g. "release", null on failure + enabled: , // true on failure + autoDownload: , // true on failure + background: , // Indicates whether updates may be installed when Firefox is not running. + }, + userPrefs: { + // Only prefs which are changed are listed in this block + "pref.name.value": value // some prefs send the value + "pref.name.url": "" // For some privacy-sensitive prefs + // only the fact that the value has been changed is recorded + }, + attribution: { // optional, only present if the installation has attribution data + // all of these values are optional. + source: , // referring partner domain, when install happens via a known partner + medium: , // category of the source, such as "organic" for a search engine + campaign: , // identifier of the particular campaign that led to the download of the product + content: , // identifier to indicate the particular link within a campaign + variation: , // name/id of the variation cohort used in the enrolled funnel experiment + experiment: , // name/id of the enrolled funnel experiment + ua: , // identifier derived from the user agent downloading the installer, e.g., chrome, Google Chrome 123 + dltoken: , // Unique token created at Firefox download time. ex: c18f86a3-f228-4d98-91bb-f90135c0aa9c + msstoresignedin: , // optional, only present if the installation was done through the Microsoft Store, and was able to retrieve the "campaign ID" it was first installed with. this value is "true" if the user was signed into the Microsoft Store when they first installed, and false otherwise + dlsource: , // identifier that indicate where installations of Firefox originate + }, + sandbox: { + effectiveContentProcessLevel: , + contentWin32kLockdownState: , + } + }, + // Optional, missing if fetching the information failed or had not yet completed. + services: { + // True if the user has a firefox account + accountEnabled: , + // True if the user has sync enabled. + syncEnabled: + }, + profile: { + creationDate: , // integer days since UNIX epoch, e.g. 16446 + resetDate: , // integer days since UNIX epoch, e.g. 16446 - optional + firstUseDate: , // integer days since UNIX epoch, e.g. 16446 - optional + }, + partner: { // This section may not be immediately available on startup + distributionId: , // pref "distribution.id", null on failure + distributionVersion: , // pref "distribution.version", null on failure + partnerId: , // pref mozilla.partner.id, null on failure + distributor: , // pref app.distributor, null on failure + distributorChannel: , // pref app.distributor.channel, null on failure + partnerNames: [ + // list from prefs app.partner.= + ], + }, + system: { + memoryMB: , + virtualMaxMB: , // windows-only + isWow64: , // windows-only + isWowARM64: , // windows-only + hasWinPackageId: , // windows-only + winPackageFamilyName: , // windows-only + cpu: { + count: , // desktop only, e.g. 8, or null on failure - logical cpus + cores: , // desktop only, e.g., 4, or null on failure - physical cores + vendor: , // desktop only, e.g. "GenuineIntel", or null on failure + name: , // desktop only, e.g. "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz", + // or null on failure + family: , // desktop only, null on failure + model: , // desktop only, null on failure + l2cacheKB: , // L2 cache size in KB, only on windows & mac + l3cacheKB: , // desktop only, L3 cache size in KB + speedMHz: , // desktop only, cpu clock speed in MHz + extensions: [ + , + ... + // as applicable: + // "hasMMX", "hasSSE", "hasSSE2", "hasSSE3", "hasSSSE3", + // "hasSSE4A", "hasSSE4_1", "hasSSE4_2", "hasAVX", "hasAVX2", + // "hasAES", "hasEDSP", "hasARMv6", "hasARMv7", "hasNEON" + ], + }, + device: { // This section is only available on mobile devices. + model: , // the "device" from FHR, null on failure + manufacturer: , // null on failure + hardware: , // null on failure + isTablet: , // null on failure + }, + os: { + name: , // "Windows_NT" or null on failure + version: , // e.g. "6.1", null on failure + kernelVersion: , // android only or null on failure + servicePackMajor: , // windows only or null on failure + servicePackMinor: , // windows only or null on failure + windowsBuildNumber: , // windows only or null on failure + windowsUBR: , // windows 10 only or null on failure + installYear: , // windows only or null on failure + locale: , // "en" or null on failure + hasPrefetch: , // windows only, or null on failure + hasSuperfetch: , // windows only, or null on failure + distro: , // linux only, or null on failure + distroVersion: , // linux only, or null on failure + }, + hdd: { + profile: { // hdd where the profile folder is located + model: , // windows only or null on failure + revision: , // windows only or null on failure + type: , // "SSD" or "HDD" windows only or null on failure + }, + binary: { // hdd where the application binary is located + model: , // windows only or null on failure + revision: , // windows only or null on failure + type: , // "SSD" or "HDD" windows only or null on failure + }, + system: { // hdd where the system files are located + model: , // windows only or null on failure + revision: , // windows only or null on failure + type: , // "SSD" or "HDD" windows only or null on failure + }, + }, + gfx: { + D2DEnabled: , // null on failure + DWriteEnabled: , // null on failure + ContentBackend: // One of "Cairo", "Skia", or "Direct2D 1.1" + Headless: , // null on failure + TargetFrameRate: , // frame rate in Hz, typically 60 or more + //DWriteVersion: , // temporarily removed, pending bug 1154500 + adapters: [ + { + description: , // e.g. "Intel(R) HD Graphics 4600", null on failure + vendorID: , // null on failure + deviceID: , // null on failure + subsysID: , // null on failure + RAM: , // in MB, null on failure + driver: , // null on failure + driverVendor: , // null on failure + driverVersion: , // null on failure + driverDate: , // null on failure + GPUActive: , // currently always true for the first adapter + }, + ... + ], + // Note: currently only added on Desktop. On Linux, only a single + // monitor is returned for the primary screen. + monitors: [ + { + screenWidth: , // screen width in pixels + screenHeight: , // screen height in pixels + refreshRate: , // refresh rate in hertz (present on Windows only). + // (values <= 1 indicate an unknown value) + pseudoDisplay: , // networked screen (present on Windows only) + scale: , // backing scale factor (present on Mac only) + }, + ... + ], + features: { + compositor: , // Layers backend for compositing (e.g. "d3d11", "none", "opengl", "webrender") + + // Each the following features can have one of the following statuses: + // "unused" - This feature has not been requested. + // "unavailable" - Safe Mode or OS restriction prevents use. + // "blocked" - Blocked due to an internal condition such as safe mode. + // "blacklisted" - Blocked due to a blacklist restriction. + // "denied" - Blocked due to allowlist restrictions. + // "disabled" - User explicitly disabled this default feature. + // "failed" - This feature was attempted but failed to initialize. + // "available" - User has this feature available. + // The status can also include a ":" followed by a reason + // e.g. "FEATURE_FAILURE_WEBRENDER_VIDEO_CRASH_INTEL_23.20.16.4973" + d3d11: { // This feature is Windows-only. + status: , + warp: , // Software rendering (WARP) mode was chosen. + textureSharing: // Whether or not texture sharing works. + version: , // The D3D11 device feature level. + blacklisted: , // Whether D3D11 is blacklisted; use to see whether WARP + // was blacklist induced or driver-failure induced. + }, + d2d: { // This feature is Windows-only. + status: , + version: , // Either "1.0" or "1.1". + }, + gpuProcess: { // Out-of-process compositing ("GPU process") feature + status: , // "Available" means currently in use + }, + hwCompositing: { // hardware acceleration. i.e. whether we try using the GPU + status: + }, + wrCompositor: { // native OS compositor (CA, DComp, etc.) + status: + } + wrSoftware: { // Software backend for WebRender, only computed when 'compositor' is 'webrender' + status: + } + openglCompositing: { // OpenGL compositing. + status: + } + }, + }, + appleModelId: , // Mac only or null on failure + sec: { // This feature is Windows 8+ only + antivirus: [ , ... ], // null if unavailable on platform: Product name(s) of registered antivirus programs + antispyware: [ , ... ], // null if unavailable on platform: Product name(s) of registered antispyware programs + firewall: [ , ... ], // null if unavailable on platform: Product name(s) of registered firewall programs + }, + }, + addons: { + activeAddons: { // the currently enabled add-ons + : { + blocklisted: , + description: , // null if not available + name: , + userDisabled: , + appDisabled: , + version: , + scope: , + type: , // "extension", "locale", ... + foreignInstall: , + hasBinaryComponents: , + installDay: , // days since UNIX epoch, 0 on failure + updateDay: , // days since UNIX epoch, 0 on failure + signedState: , // whether the add-on is signed by AMO, only present for extensions + isSystem: , // true if this is a System Add-on + isWebExtension: , // true if this is a WebExtension + multiprocessCompatible: , // true if this add-on does *not* require e10s shims + }, + ... + }, + theme: { // the active theme + id: , + blocklisted: , + description: , + name: , + userDisabled: , + appDisabled: , + version: , + scope: , + foreignInstall: , + hasBinaryComponents: + installDay: , // days since UNIX epoch, 0 on failure + updateDay: , // days since UNIX epoch, 0 on failure + }, + activeGMPlugins: { + : { + version: , + userDisabled: , + applyBackgroundUpdates: , + }, + ... + }, + }, + experiments: { + "": { branch: "", type: "", enrollmentId: "" }, + // ... + } + } + +build +----- + +buildId +~~~~~~~ +Firefox builds downloaded from mozilla.org use a 14-digit buildId. Builds included in other distributions may have a different format (e.g. only 10 digits). + +Settings +-------- + +defaultSearchEngine +~~~~~~~~~~~~~~~~~~~ +Note: Deprecated, use defaultSearchEngineData instead. + +Contains the string identifier or name of the default search engine provider. This will not be present in environment data collected before the Search Service initialization. + +The special value ``NONE`` could occur if there is no default search engine. + +The special value ``UNDEFINED`` could occur if a default search engine exists but its identifier could not be determined. + +This field's contents are ``Services.search.defaultEngine.identifier`` (if defined) or ``"other-"`` + ``Services.search.defaultEngine.name`` if not. In other words, search engines without an ``.identifier`` are prefixed with ``other-``. + +defaultSearchEngineData +~~~~~~~~~~~~~~~~~~~~~~~ +Contains data identifying the engine currently set as the default. + +The object contains: + +- a ``name`` property with the name of the engine, or ``NONE`` if no + engine is currently set as the default. + +- a ``loadPath`` property: an anonymized path of the engine xml file, e.g. + jar:[app]/omni.ja!browser/engine.xml + (where 'browser' is the name of the chrome package, not a folder) + [profile]/searchplugins/engine.xml + [distribution]/searchplugins/common/engine.xml + [other]/engine.xml + [other]/addEngineWithDetails + [other]/addEngineWithDetails:extensionID + [http/https]example.com/engine-name.xml + [http/https]example.com/engine-name.xml:extensionID + +- an ``origin`` property: the value will be ``default`` for engines that are built-in or from distribution partners, ``verified`` for user-installed engines with valid verification hashes, ``unverified`` for non-default engines without verification hash, and ``invalid`` for engines with broken verification hashes. + +- a ``submissionURL`` property with the HTTP url we would use to search. + For privacy, we don't record this for user-installed engines. + +``loadPath`` and ``submissionURL`` are not present if ``name`` is ``NONE``. + +defaultPrivateSearchEngineData +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +This contains the data identifying the engine current set as the default for +private browsing mode. This may be the same engine as set for normal browsing +mode. + +This object contains the same information as ``defaultSearchEngineData``. It +is only reported if the ``browser.search.separatePrivateDefault`` preference is +set to ``true``. + +userPrefs +~~~~~~~~~ + +This object contains user preferences. + +Each key in the object is the name of a preference. A key's value depends on the policy with which the preference was collected. There are three such policies, "value", "state", and "default value". For preferences collected under the "value" policy, the value will be the preference's value. For preferences collected under the "state" policy, the value will be an opaque marker signifying only that the preference has a user value. The "state" policy is therefore used when user privacy is a concern. For preferences collected under the "default value" policy, the value will be the preference's default value, if the preference exists. If the preference does not exist, there is no key or value. + +The following is a partial list of `collected preferences `_. + +- ``browser.migrate.interactions.bookmarks``: True if the user has imported bookmarks from another browser before. This preference gets transferred during profile resets. + +- ``browser.migrate.interactions.csvpasswords``: True if the user has imported passwords through the migration wizard from a CSV file. This preference gets transferred during profile resets. + +- ``browser.migrate.interactions.history``: True if the user has imported history from another browser before. This preference gets transferred during profile resets. + +- ``browser.migrate.interactions.passwords``: True if the user has imported passwords from another browser before. This preference gets transferred during profile resets. + +- ``browser.privatebrowsing.autostart``: True if the user has enabled the permanent private browsing mode. Defaults to false. + +- ``browser.search.suggest.enabled``: The "master switch" for search suggestions everywhere in Firefox (search bar, urlbar, etc.). Defaults to true. + +- ``browser.urlbar.autoFill``: The global preference for whether autofill in the urlbar is enabled. When false, all types of autofill are disabled. + +- ``browser.urlbar.autoFill.adaptiveHistory.enabled``: True if adaptive history autofill in the urlbar is enabled. + +- ``browser.urlbar.dnsResolveSingleWordsAfterSearch``: Controls when to DNS resolve single word search strings, after they were searched for. If the string is resolved as a valid host, show a "Did you mean to go to 'host'" prompt. 0: Never resolve, 1: Use heuristics, 2. Always resolve. Defaults to 0. + +- ``browser.urlbar.quicksuggest.onboardingDialogChoice``: The user's choice in the Firefox Suggest onboarding dialog. If the dialog was shown multiple times, this records the user's most recent choice. Values are the following. Empty string: The user has not made a choice (e.g., because the dialog hasn't been shown). ``accept_2`` is recorded when the user accepts the dialog and opts in, ``reject_2`` is recorded when the user rejects the dialog and opts out, ``learn_more_1`` is recorded when the user clicks "Learn more" on the introduction section (the user remains opted out), ``learn_more_2`` is recorded when the user clicks "Learn more" on the main section (the user remains opted out), ``close_1`` is recorded when the user clicks close button on the introduction section (the user remains opted out), ``not_now_2`` is recorded when the user clicks "Not now" link on main section (the user remains opted out), ``dismiss_1`` recorded when the user dismisses the dialog on the introduction section (the user remains opted out), ``dismiss_2`` recorded when the user dismisses the dialog on main (the user remains opted out). + +- ``browser.urlbar.quicksuggest.dataCollection.enabled``: Whether the user has opted in to data collection for Firefox Suggest. This pref is set to true when the user opts in to the Firefox Suggest onboarding dialog modal. The user can also toggle the pref using a toggle switch in the Firefox Suggest preferences UI. + +- ``browser.urlbar.showSearchTerms.enabled``: True if to show the search term in the urlbar while on a default search engine results page. + +- ``browser.urlbar.suggest.quicksuggest.nonsponsored``: True if non-sponsored Firefox Suggest suggestions are enabled in the urlbar. + +- ``browser.urlbar.suggest.quicksuggest.sponsored``: True if sponsored Firefox Suggest suggestions are enabled in the urlbar. + +- ``browser.urlbar.suggest.searches``: True if search suggestions are enabled in the urlbar. Defaults to false. + +- ``browser.zoom.full`` (deprecated): True if zoom is enabled for both text and images, that is if "Zoom Text Only" is not enabled. Defaults to true. This preference was collected in Firefox 50 to 52 (`Bug 979323 `_). + +- ``security.tls.version.enable-deprecated``: True if deprecated versions of TLS (1.0 and 1.1) have been enabled by the user. Defaults to false. + +- ``privacy.firstparty.isolate``: True if the user has changed the (unsupported, hidden) First Party Isolation preference. Defaults to false. + +- ``privacy.resistFingerprinting``: True if the user has changed the (unsupported, hidden) Resist Fingerprinting preference. Defaults to false. + +- ``toolkit.telemetry.pioneerId``: The state of the Pioneer ID. If set, then user is enrolled in Pioneer. Note that this does *not* collect the value. + +- ``app.normandy.test-prefs.bool``: Test pref that will help troubleshoot uneven unenrollment in experiments. Defaults to false. + +- ``app.normandy.test-prefs.integer``: Test pref that will help troubleshoot uneven unenrollment in experiments. Defaults to 0. + +- ``app.normandy.test-prefs.string``: Test pref that will help troubleshoot uneven unenrollment in experiments. Defaults to "". + +- ``network.trr.mode``: User-set DNS over HTTPS mode. Defaults to 0. + +- ``network.trr.strict_native_fallback``: Whether strict fallback mode is enabled for DoH mode 2. Defaults to true on Nightly, false elsewhere. + +- ``extensions.InstallTriggerImpl.enabled``: Whether the InstallTrigger implementation should be enabled (or hidden and none of its methods available). + +- ``extensions.InstallTrigger.enabled``: Whether the InstallTrigger implementation should be enabled (or completely hidden), separate from InstallTriggerImpl because InstallTrigger is improperly used also for UA detection. + +- ``extensions.eventPages.enabled``: Whether non-persistent background pages (also known as Event pages) should be enabled for `"manifest_version": 2` extensions. + +- ``extensions.quarantinedDomains.enabled``: Whether "Quarantined Domains" is enabled. + +- ``extensions.manifestV3.enabled``: Whether `"manifest_version": 3` extensions should be allowed to install successfully. + +- ``media.gmp-gmpopenh264.enabled``: Whether OpenH264 is enabled. + +- ``media.gmp-gmpopenh264.lastDownload``: When OpenH264 was last downloaded as seconds since Jan 1, 1970. + +- ``media.gmp-gmpopenh264.lastDownloadFailed``: When OpenH264 was last downloaded unsuccessfully as seconds since Jan 1, 1970. + +- ``media.gmp-gmpopenh264.lastDownloadFailReason``: The exception value when OpenH264 was last failed to downloaded. + +- ``media.gmp-gmpopenh264.lastInstallFailed``: When OpenH264 installation last failed as seconds since Jan 1, 1970. + +- ``media.gmp-gmpopenh264.lastInstallStart``: When OpenH264 installation was last started as seconds since Jan 1, 1970. + +- ``media.gmp-gmpopenh264.lastUpdate``: When OpenH264 was last updated as seconds since Jan 1, 1970. + +- ``media.gmp-gmpopenh264.visible``: Whether OpenH264 is visible. + +- ``media.gmp-manager.lastCheck``: When the gmp-manager last checked for updates as seconds since Jan 1, 1970. + +- ``media.gmp-manager.lastEmptyCheck``: When the gmp-manager last checked for updates and there was nothing to install as seconds since Jan 1, 1970. + +- ``nimbus.qa.pref-1``: Used to monitor the results of pref-setting test experiments. + +- ``nimbus.qa.pref-2``: Used to monitor the results of pref-setting test experiments. + +- ``signon.firefoxRelay.feature``: User choice regarding Firefox Relay integration with Firefox Password Manager. Can be one of undefined, "available", "offered", "enabled" or "disabled". + +- ``dom.popup_allowed_events``: Which events should allow popups. Only exposed with about:config. + +- ``intl.ime.use_composition_events_for_insert_text``: Whether a set of composition events is fired when user inserts text without keyboard events nor composing state of a composition (only on Linux and macOS). + +attribution +~~~~~~~~~~~ + +This object contains the attribution data for the product installation. + +Attribution data is used to link installations of Firefox with the source that the user arrived at the Firefox download page from. It would indicate, for instance, when a user executed a web search for Firefox and arrived at the download page from there, directly navigated to the site, clicked on a link from a particular social media campaign, etc. + +The attribution data is included in some versions of the default Firefox installer for Windows (the "stub" installer) and stored as part of the installation. All platforms other than Windows and also Windows installations that did not use the stub installer do not have this data and will not include the ``attribution`` object. + +sandbox +~~~~~~~ + +This object contains data about the state of Firefox's sandbox. + +Specific keys are: + +- ``effectiveContentProcessLevel``: The meanings of the values are OS dependent. Details of the meanings can be found in the `Firefox prefs file `_. The value here is the effective value, not the raw value, some platforms enforce a minimum sandbox level. If there is an error calculating this, it will be ``null``. +- ``contentWin32kLockdownState``: The status of Win32k Lockdown for Content process. + + - LockdownEnabled = 1 - After Firefox 98, this value will no longer appear in Telemetry. + - MissingWebRender = 2 + - OperatingSystemNotSupported = 3 + - PrefNotSet = 4 - After Firefox 98, this value will no longer appear in Telemetry. + - MissingRemoteWebGL = 5 + - MissingNonNativeTheming = 6 + - DisabledByEnvVar = 7 - MOZ_ENABLE_WIN32K is set + - DisabledBySafeMode = 8 + - DisabledByE10S = 9 - E10S is disabled for whatever reason + - DisabledByUserPref = 10 - The user manually set security.sandbox.content.win32k-disable to false + - EnabledByUserPref = 11 - The user manually set security.sandbox.content.win32k-disable to true + - DisabledByControlGroup = 12 - The user is in the Control Group, so it is disabled + - EnabledByTreatmentGroup = 13 - The user is in the Treatment Group, so it is enabled + - DisabledByDefault = 14 - The default value of the pref is false + - EnabledByDefault = 15 - The default value of the pref is true + - DecodersArentRemote = 16 - Some decoder is not remoted to RDD Process (checks PDMFactory::AllDecodersAreRemote) + - IncompatibleMitigationPolicy = 17 - Some incompatible Windows Exploit Mitigation policies are enabled + + +profile +------- + +creationDate +~~~~~~~~~~~~ + +The assumed creation date of this client's profile. +It's read from a file-stored timestamp from the client's profile directory. + +.. note:: + + If the timestamp file does not exist all files in the profile directory are scanned. + The oldest creation or modification date of the scanned files is then taken to be the profile creation date. + This has been shown to sometimes be inaccurate (`bug 1449739 `_). + +resetDate +~~~~~~~~~~~~ + +The time of the last reset time for the profile. If the profile has never been +reset this field will not be present. +It's read from a file-stored timestamp from the client's profile directory. + +firstUseDate +~~~~~~~~~~~~ + +The time of the first use of profile. If this is an old profile where we can't +determine this this field will not be present. +It's read from a file-stored timestamp from the client's profile directory. + +partner +------- + +If the user is using a partner repack, this contains information identifying the repack being used, otherwise "partnerNames" will be an empty array and other entries will be null. The information may be missing when the profile just becomes available. In Firefox for desktop, the information along with other customizations defined in distribution.ini are processed later in the startup phase, and will be fully applied when "distribution-customization-complete" notification is sent. + +Distributions are most reliably identified by the ``distributionId`` field. Partner information can be found in the `partner repacks `_ (`the old one `_ is deprecated): it contains one private repository per partner. +Important values for ``distributionId`` include: + +- "MozillaOnline" for the Mozilla China repack. +- "canonical", for the `Ubuntu Firefox repack `_. +- "yandex", for the Firefox Build by Yandex. + +system +------ + +os +~~ + +This object contains operating system information. + +- ``name``: the name of the OS. +- ``version``: a string representing the OS version. +- ``kernelVersion``: an Android only string representing the kernel version. +- ``servicePackMajor``: the Windows only major version number for the installed service pack. +- ``servicePackMinor``: the Windows only minor version number for the installed service pack. +- ``windowsBuildNumber``: the Windows build number. +- ``windowsUBR``: the Windows UBR number, only available for Windows >= 10. This value is incremented by Windows cumulative updates patches. +- ``installYear``: the Windows only integer representing the year the OS was installed. +- ``locale``: the string representing the OS locale. +- ``hasPrefetch``: the Windows-only boolean representing whether or not the OS-based prefetch application start-up optimization is set to use the default settings. +- ``hasSuperfetch``: the Windows-only boolean representing whether or not the OS-based superfetch application start-up optimization service is running and using the default settings. + +addons +------ + +activeAddons +~~~~~~~~~~~~ + +Starting from Firefox 44, the length of the following string fields: ``name``, ``description`` and ``version`` is limited to 100 characters. The same limitation applies to the same fields in ``theme``. + +Some of the fields in the record for each add-on are not available during startup. The fields that will always be present are ``id``, ``version``, ``type``, ``updateDate``, ``scope``, ``isSystem``, ``isWebExtension``, and ``multiprocessCompatible``. All the other fields documented above become present shortly after the ``sessionstore-windows-restored`` observer topic is notified. + +activeGMPPlugins +~~~~~~~~~~~~~~~~ + +Up-to-date information is not available immediately during startup. The field will be populated with dummy information until the blocklist is loaded. At the latest, this will happen just after the ``sessionstore-windows-restored`` observer topic is notified. + +experiments +----------- +For each experiment we collect the + +- ``id`` (Like ``hotfix-reset-xpi-verification-timestamp-1548973``, max length 100 characters) +- ``branch`` (Like ``control``, max length 100 characters) +- ``type`` (Optional. Like ``normandy-exp``, max length 20 characters) +- ``enrollmentId`` (Optional. Like ``5bae2134-e121-46c2-aa00-232f3f5855c5``, max length 40 characters) + +In the event any of these fields are truncated, a warning is printed to the console + +Note that this list includes other types of deliveries, including Normandy rollouts and Nimbus feature defaults. + +Version History +--------------- + +- Firefox 88: + + - Removed ``addons.activePlugins`` as part of removing NPAPI plugin support. (`bug 1682030 `_) + +- Firefox 70: + + - Added ``experiments..enrollmentId``. (`bug 1555172 `_) + +- Firefox 67: + + - Removed ``persona``. The ``addons.activeAddons`` list should be used instead. (`bug 1525511 `_) + +- Firefox 61: + + - Removed empty ``addons.activeExperiment`` (`bug 1452935 `_). -- cgit v1.2.3