Closed Bug 1137448 Opened 9 years ago Closed 6 years ago

Webconsole history items should be pushed onto saved stack instead of replacing it

Categories

(DevTools :: Console, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bgrins, Unassigned)

References

Details

STR:

Open toolbox on Tab 1
Open toolbox on Tab 2

On tab 1, execute '1' in webconsole
On tab 2, execute '2' in webconsole

Open toolbox on Tab 3

On tab 3, press up in the webconsole.  You should see '2' (as expected).  Press 'up' again.  You should see '1', but it doesn't show up.

This is because the entire history stack from tab2 is what got persisted.  It should instead just push onto the current persisted stack.
Product: Firefox → DevTools
STR from Comment 0 works for me (and we do have tests to make sure of this)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.