Closed Bug 1609264 Opened 4 years ago Closed 4 years ago

Eager evaluation shouldn't impact $_

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: jlast, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

What were you doing?

It would be nice if expressions eagerly evaluated with $_ do not change the $_ result.

good catch.
I think this is higher priority since eager evaluation somehow breaks $_

Type: enhancement → defect
Summary: Support eagerly evaluating $_ expressions → Eager evaluation shouldn't impacts $_
Summary: Eager evaluation shouldn't impacts $_ → Eager evaluation shouldn't impact $_

This was messing up with the $_ command.
A webconsole test case is added to ensure this
works as expected now.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dec7b2cad47c
Don't populate _lastConsoleInputEvaluation when doing an eager evaluation. r=bhackett.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: