Closed
Bug 1759993
Opened 2 years ago
Closed 2 years ago
QM: Introduce QM_IPC_FAIL macro
Categories
(Core :: Storage: Quota Manager, task, P2)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
Details
Attachments
(1 file)
Here's an existing code:
QM_TRY_UNWRAP(auto principal,
mozilla::ipc::PrincipalInfoToPrincipal(aPrincipalInfo),
IPC_FAIL(this, "PrincipalInfoToPrincipal failed!"));
It could look like this:
QM_TRY_UNWRAP(auto principal,
mozilla::ipc::PrincipalInfoToPrincipal(aPrincipalInfo),
QM_IPC_FAIL);
The message passed to IPC_FAIL
would be automatically generated by QM_TRY
macros based on the expression.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/def50d42f374 QM: Introduce QM_IPC_FAIL macro; r=ipc-reviewers,mccr8,hsingh
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•