Closed Bug 1903643 Opened 1 year ago Closed 1 year ago

Clear the feature tour pref before rendering a message in about:messagepreview

Categories

(Firefox :: Messaging System, defect)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: emcminn, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

(Whiteboard: [omc])

Attachments

(1 file)

Right now when we preview feature callouts that use the Feature Tour pref, dismiss buttons and actions tend to not work. This is because these callouts rely on the pref change to trigger navigation/rendering, but once the pref is set it will fail to set again. In the wild the message targeting will prevent this bug, since a message would typically only show once (and then not render again once if the pref is true) but we are overriding targeting for previews.
Clearing the pref before rendering the message should allow everything to behave correctly each time the message is rendered.

Whiteboard: [omc]
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2b440d71813 Clear feature tour prefs for callouts that use them r=aminomancer,omc-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Regressions: 1904386
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: