Closed
Bug 841145
Opened 11 years ago
Closed 11 years ago
MOZ_SHUTDOWN_CHECKS to control what we do with late writes
Categories
(Toolkit :: Telemetry, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: espindola, Assigned: espindola)
Details
Attachments
(1 file)
1.42 KB,
patch
|
vladan
:
review+
BenWa
:
feedback+
|
Details | Diff | Splinter Review |
With this patch an addon author should be able to debug its addon with a released version of firefox by setting MOZ_SHUTDOWN_CHECKS to "crash" (to use a debugger) or "record" (to just look in about:telemetry).
Attachment #713592 -
Flags: review?(vdjeric)
Attachment #713592 -
Flags: feedback?(bgirard)
Updated•11 years ago
|
Attachment #713592 -
Flags: feedback?(bgirard) → feedback+
Comment 1•11 years ago
|
||
Comment on attachment 713592 [details] [diff] [review] patch >+ // We normally don't poison writes if gShutdownChecks is SCM_NOTHING, but >+ // write poisoning can get more users in the future (profiling for example), >+ // so make sure we behave correctly. >+ if (gShutdownChecks == SCM_NOTHING || ok || !sProfileDirectory || >+ !Telemetry::CanRecord()) > return ok; Add a curly for this please
Attachment #713592 -
Flags: review?(vdjeric) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/049392b28dd1
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/049392b28dd1
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•