Closed Bug 1928661 Opened 1 year ago Closed 1 year ago

MenuMessage and browser-sync / panelUI not recording impressions properly

Categories

(Firefox :: Messaging System, defect)

defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox133 --- fixed
firefox134 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Some of the refactoring I did in MenuMessage means that the showing-fxa-menu-message attribute is sometimes not set on the panel when it fires ViewShowing, meaning that the impression event isn't recorded.

The async constructFxAMessage message was often not resolving before the ViewShowing
event fired, meaning that the attribute wasn't set in time.

Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/87c2c74be9f5 Make sure showing-fxa-menu-message attribute is set before ViewShowing fires for AppMenu or FxA avatar menu panels. r=pdahiya,omc-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

The async constructFxAMessage message was often not resolving before the ViewShowing
event fired, meaning that the attribute wasn't set in time.

Original Revision: https://phabricator.services.mozilla.com/D227668

Attachment #9435117 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: None, but one of our experiments would be missing an important measurement for OMC message impressions.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: Very, very little.
  • Explanation of risk level: This is contained within a module that only executes during a specific messaging experiment that we're planning to run, and changes the order of certain events to ensure that "impressions" are properly recorded.
  • String changes made/needed: None.
  • Is Android affected?: no
Attachment #9435117 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: