Closed Bug 1072014 Opened 6 years ago Closed 6 years ago

Log.jsm: Allow logging of falsy arguments

Categories

(Toolkit :: General, defect)

defect
Not set
Points:
1

Tracking

()

RESOLVED FIXED
mozilla35
Iteration:
35.2

People

(Reporter: MattN, Assigned: MattN)

References

Details

Attachments

(1 file)

BasicFormatter's formatText only checked if message.params is truthy so it doesn't allow logging falsy (non-object) arguments e.g. false or null.
Attachment #8494120 - Flags: review?(bmcbride)
Flags: qe-verify-
Flags: firefox-backlog+
Attachment #8494120 - Flags: review?(bmcbride) → review+
https://hg.mozilla.org/mozilla-central/rev/a7c500849928
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.