зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1745788: Add telemetry for situations when Firefox is running under App Translocation on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D142109
This commit is contained in:
Родитель
4e3a8b1761
Коммит
5d6b6caf5a
|
@ -5927,7 +5927,7 @@ startup:
|
|||
Recorded on every run of a Firefox install on macOS, with a boolean value
|
||||
indicating whether Firefox is being run directly from .dmg without
|
||||
installing, or not.
|
||||
expires: "99"
|
||||
expires: "108"
|
||||
keyed: false
|
||||
kind: boolean
|
||||
notification_emails:
|
||||
|
@ -5941,6 +5941,26 @@ startup:
|
|||
- 'main'
|
||||
release_channel_collection: opt-out
|
||||
|
||||
is_run_from_app_translocated_location:
|
||||
bug_numbers:
|
||||
- 1745788
|
||||
description: >
|
||||
Recorded on every run of a Firefox install on macOS, with a boolean value
|
||||
indicating whether Firefox is being run from an app translocated location,
|
||||
or not. This is always false when `is_run_from_dmg` is true.
|
||||
expires: "108"
|
||||
keyed: false
|
||||
kind: boolean
|
||||
notification_emails:
|
||||
- spohl@mozilla.com
|
||||
operating_systems:
|
||||
- mac
|
||||
products:
|
||||
- 'firefox'
|
||||
record_in_processes:
|
||||
- 'main'
|
||||
release_channel_collection: opt-out
|
||||
|
||||
script.preloader:
|
||||
mainthread_recompile:
|
||||
bug_numbers:
|
||||
|
|
|
@ -469,6 +469,8 @@ bool MaybeInstallAndRelaunch() {
|
|||
}
|
||||
|
||||
Telemetry::ScalarSet(Telemetry::ScalarID::STARTUP_IS_RUN_FROM_DMG, isFromDmg);
|
||||
Telemetry::ScalarSet(Telemetry::ScalarID::STARTUP_IS_RUN_FROM_APP_TRANSLOCATED_LOCATION,
|
||||
isTranslocated);
|
||||
|
||||
if (!isFromDmg && !isTranslocated) {
|
||||
if (getenv("MOZ_INSTALLED_AND_RELAUNCHED_FROM_DMG")) {
|
||||
|
|
|
@ -21,17 +21,19 @@ startup:
|
|||
- privileged_install_failed
|
||||
- installed_and_relaunched
|
||||
description: >
|
||||
The outcome after the app detected that it was running from DMG and
|
||||
should offer to install and relaunch itself.
|
||||
The outcome after the app detected that it was running from DMG or an app
|
||||
translocated location and should offer to install and relaunch itself.
|
||||
metadata: &metadata
|
||||
tags:
|
||||
- "Toolkit :: Startup and Profile System"
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1743328
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1755049
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1745788
|
||||
data_reviews:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1743328#c1
|
||||
notification_emails:
|
||||
- jwatt@jwatt.org
|
||||
- mbalfanz@mozilla.com
|
||||
- spohl@mozilla.com
|
||||
expires: 108
|
||||
|
|
Загрузка…
Ссылка в новой задаче