Closed
Bug 1613221
Opened 4 years ago
Closed 4 years ago
console only shows last call to print() within evaluation
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: me, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Steps to reproduce:
type print(1); print(2); print(3);
into devtools console
Actual results:
The console only printed out "3"
Expected results:
It should've printed out 1 and then 2 and then 3.
Updated•4 years ago
|
Has STR: --- → yes
Component: Untriaged → Console
Product: Firefox → DevTools
Comment 1•4 years ago
|
||
print
is a helper function so it's not specified, and it won't work as console.log for example.
Could you tell us what you are using it for?
Harald, what should we do with print
and pprint
? That's something Chrome does not have, and I don't see a strong reason to use that over console.log.
Flags: needinfo?(me)
Flags: needinfo?(hkirschner)
Comment 2•4 years ago
|
||
Seems like it is not covered by tests, no special benefit over console.log and non-standard legacy code – LGTM for removing them.
Flags: needinfo?(hkirschner)
Comment 3•4 years ago
|
||
helper was removed
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(me)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•