Closed
Bug 1660751
Opened 4 years ago
Closed 4 years ago
QM: Log failures in the browser console
Categories
(Core :: Storage: Quota Manager, task, P2)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
Details
Attachments
(3 files)
Now when we have mostly complete replacement for NS_ENSURE_SUCCESS/NS_WARN_IF, we can start adding more features. Logging to the browser console is one of them.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D87834
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
Not that this is deliberately de-optimizing performance: Now, the HandleError
functions need to use the nsDependentCString constructor to determine the
length of the literals at run-time, since that's lost. While passing that
in addition would reduce the binary size wins again, and is not necessary,
since this code is only called in error situations, which are not
performance-critical.
Depends on D89147
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1d36aba44469 QM: Log failures in the browser console; r=dom-workers-and-storage-reviewers,sg https://hg.mozilla.org/integration/autoland/rev/bb95b821eee6 Make HandleError function MOZ_NEVER_INLINE. r=janv,dom-workers-and-storage-reviewers https://hg.mozilla.org/integration/autoland/rev/446aa773c333 Use bare const char* in HandleError signature to reduce size of calling code. r=dom-workers-and-storage-reviewers,janv
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1d36aba44469
https://hg.mozilla.org/mozilla-central/rev/bb95b821eee6
https://hg.mozilla.org/mozilla-central/rev/446aa773c333
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•