Closed
Bug 1780666
Opened 11 months ago
Closed 10 months ago
Clean up Windows toast notification implementation files.
Categories
(Toolkit :: Notifications and Alerts, task, P3)
Tracking
()
RESOLVED
FIXED
105 Branch
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: nrishel, Assigned: nrishel)
References
Details
(Whiteboard: [fidedi-ope])
Attachments
(2 files)
The implementation for Windows toast notification error handling is particularly noisy, notably having strings of if..return. These can be condensed with the NS_ENSURE_*
macros.
Additionally HSTRING
from the Windows API is used, and it appears that resources are not being released. These would be better consolidated on wrl's HString
and HStringReference
RAII wrapper classes.
Assignee | ||
Comment 1•11 months ago
|
||
Assignee | ||
Comment 2•11 months ago
|
||
Updated•11 months ago
|
Flags: needinfo?(tspurway)
Updated•11 months ago
|
Whiteboard: [fidedi-ope]
Updated•11 months ago
|
Pushed by nrishel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99eafc30104b Part 1: Manage Windows toast notifcation HSTRING handles lifetime with HString and HStringReference wrappers. r=nalexander https://hg.mozilla.org/integration/autoland/rev/79e260057dbd Part 2: Condense litany of Windows toast notification error cases with NS_ENSURE_* macros. r=nalexander,mhowell.
Comment 4•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/99eafc30104b
https://hg.mozilla.org/mozilla-central/rev/79e260057dbd
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
status-firefox105:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Updated•9 months ago
|
Flags: needinfo?(tspurway)
You need to log in
before you can comment on or make changes to this bug.
Description
•