Closed
Bug 1689567
Opened 3 years ago
Closed 3 years ago
Add telemetry and handle "disconnected" events for infobar_message
Categories
(Firefox :: Messaging System, enhancement, P2)
Firefox
Messaging System
Tracking
()
VERIFIED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | verified |
People
(Reporter: andreio, Assigned: andreio)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
If we use infobar_message only inside a tab (not global) there is an additional event disconnected
that happens if the tab gets closed and dismisses the infobar.
This case is currently not handled.
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P2
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5fdf5d840af Add telemetry and handle disconnected events for infobar_message r=nanj
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Comment 4•3 years ago
|
||
I have verified that a "DISMISSED" ping is displayed in the "Browser Console" using Firefox Nightly 88.0a1 (Build ID: 20210223085042) on Windows 10 x64, macOS 10.15.6, and Ubuntu Linux 20.04 with the following steps:
[Prerequisites]:
- Have the pref
browser.ping-centre.log
value set totrue
. - Have the pref
browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
value set totrue
. - Have the pref
browser.newtabpage.activity-stream.asrouter.providers.onboarding
value set to{"id":"onboarding","type":"local","localProvider":"CFRMessageProvider","enabled":true,"exclude":[]}
. - Have the Browser Console opened.
[Steps to Reproduce]:
- Navigate to the "about:newtab#asrouter" page.
- Select the "onboarding" option from the "Show messages from" drop-down menu.
- Change the "type" value from "global" to "tab" from the "INFOBAR_ACTION_86" section.
- Click the "Modify" button from the "INFOBAR_ACTION_86" section.
- Close the "about:newtab#asrouter" page and observe the "Browser Console".
[Expected result]:
- A Telemetry Ping is displayed with an
"event": "DISMISSED"
is displayed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•