Closed Bug 1072014 Opened 10 years ago Closed 10 years ago

Log.jsm: Allow logging of falsy arguments

Categories

(Toolkit :: General, defect)

defect
Not set
normal
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/integration/fx-team/rev/a7c500849928
Flags: in-testsuite+
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/a7c500849928
Status: ASSIGNED → RESOLVED
Closed: 10 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.

Attachment

General

Created:
Updated:
Size: