Closed
Bug 1432771
Opened 6 years ago
Closed 6 years ago
clear() helper shouldn't be logged in the output
Categories
(DevTools :: Console, defect, P1)
DevTools
Console
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
(Whiteboard: [newconsole-mvp])
Attachments
(1 file)
Steps to reproduce: 1. Open the console 2. Evaluate `clear()` Expected results: The console output is cleared, i.e. the output is empty Actual results: The console gets cleared, but the "clear()" message is still visible.
Assignee | ||
Updated•6 years ago
|
Whiteboard: [newconsole-mvp]
Assignee | ||
Comment 1•6 years ago
|
||
This is intermittent, and probably caused by the batching we do.
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: -- → P1
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8945089 [details] Bug 1432771 - Clear queues in dispatchMessagesClear; . https://reviewboard.mozilla.org/r/215314/#review221810 I'd like if we could audit the implementations of console.clear(), clear(), and the clear button/key shortcut in the UI and make sure we are sharing where appropriate. But in the meantime this looks like a nice simple fix! ::: commit-message-b0baa:4 (Diff revision 1) > +Bug 1432771 - Clear queues in dispatchMessagesClear; r=bgrins. > + > +In the console, to batch messages addition, we use queues which are > +then comsumed once every 50ms. But if a message is push to a queue, Typo: 'consumed' ::: commit-message-b0baa:4 (Diff revision 1) > +Bug 1432771 - Clear queues in dispatchMessagesClear; r=bgrins. > + > +In the console, to batch messages addition, we use queues which are > +then comsumed once every 50ms. But if a message is push to a queue, 'push' -> 'pushed'
Attachment #8945089 -
Flags: review?(bgrinstead) → review+
Comment hidden (mozreview-request) |
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/37cd2d413696 Clear queues in dispatchMessagesClear; r=bgrins.
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/37cd2d413696
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Comment 7•6 years ago
|
||
I was able to reproduce this issue in Firefox 59.0.3 (20180427210249) on Windows 10x64. I was not able to reproduce this issue on both Firefox 60.0b16 (20180426170554) on Windows 10x64 and on Firefox Nightly 61.0a1 (20180503220110) on Windows 10x64. [bugday-20180502]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•