Closed Bug 1610754 Opened 4 years ago Closed 4 years ago

Eager evaluation result is not displayed when it is falsy

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox74 verified)

VERIFIED FIXED
Firefox 74
Tracking Status
firefox74 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open the console
  2. Type 1 - 1

Expected results

0 is displayed in the eager evaluation result

Actual results

The eager evaluation result isn't displayed.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Summary: Eager evaluation result is not displayed when its 0 → Eager evaluation result is not displayed when it is falsy

We weren't displaying results when they were
falsy (0, false, empty string, ...). This is
fixed by this patch that adds a few test cases
to ensure we don't regress.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8bc5b3091d6d
Display falsy values in eager evaluation result. r=jlast.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74

Confirmed issue with 74.0a1 (2020-01-22) on Windows 10.
Verified with 74.0 on Windows 10, macOS 10.15, Ubuntu 19.04.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: