Closed
Bug 2052574
Opened 5 months ago
Closed 4 months ago
Track ignored notifications on Windows
Categories
(Toolkit :: Alerts Service, enhancement)
Toolkit
Alerts Service
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
Details
Attachments
(1 external file)
Because we want to see the user pattern of ignoring notifications.
| Assignee | ||
Comment 1•5 months ago
|
||
With the following code I can confirm that the new ignored event works.
alerts = Cc["@mozilla.org/alerts-service;1"].getService().QueryInterface(Ci.nsIAlertsService)
alert = Cc["@mozilla.org/alert-notification;1"].createInstance().QueryInterface(Ci.nsIAlertNotification)
alert.initWithObject({ title: "foo", textClickable: true })
alerts.showAlertWithCallbacks(alert, { onAlertIgnored: () => console.log("ignored"), onAlertClick: () => console.log("click"), onAlertFinished: () => console.log("closed") })
Pushed by krosylight@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e29a6acf4192
https://hg.mozilla.org/integration/autoland/rev/585d4766f485
Track ignored notifications on Windows r=nrishel,win-reviewers
Pushed by rperta@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/48cae055172c
https://hg.mozilla.org/integration/autoland/rev/e44f299a9a60
Revert "Bug 2046221, Bug 2046925, Bug 2052574, Bug 2049782 - Part 2: Add telemetry to NotificationParent r=nrishel" for causing mochitest-plain failures at test_ext_notifications.html
Pushed by krosylight@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f3645dccf171
https://hg.mozilla.org/integration/autoland/rev/da0d064d987b
Track ignored notifications on Windows r=nrishel,win-reviewers
| Assignee | ||
Comment 5•4 months ago
|
||
https://github.com/mozilla-firefox/firefox/commit/e29a6acf419201493c7e7bf6b618adb4835d1488, not sure what happened to the automation?
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•4 months ago
|
||
oh wait, that was comment #2.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 4 months ago → 4 months ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in
before you can comment on or make changes to this bug.
Description
•