Closed
Bug 1966005
Opened 6 months ago
Closed 5 months ago
The webconsole output does not auto-scroll to the bottom with console traces
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(firefox141 fixed)
RESOLVED
FIXED
141 Branch
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: bomsy, Assigned: bomsy)
References
Details
Attachments
(1 file)
STR
- Copy and paste link data:text/html;charset=utf-8,<!DOCTYPE html><p>Web Console test for%20 scroll.</p>%20%20 <script>%20%20%20%20 var a = () => b();%20%20%20%20 var b = () => c();%20%20%20%20 var c = (i) => console.trace("trace in C " + i);%20%20%20%20%20 for (let i = 0; i <= 100; i++) {%20%20%20%20%20%20 console.log("init-" + i);%20%20%20%20%20%20 if (i % 10 === 0) {%20%20%20%20%20%20%20%20 c(i);%20%20%20%20%20%20 }%20%20%20%20 }%20%20 </script>
- Open devtools console and refresh (The messages should be displayed and the console output should be scrolled to the bottom)
- Refresh the webpage
Expected Result
The messages should be displayed again and the webconsole output should be scrolled to the bottom
Actual Result
The messages are displayed but the webconsole output is not scrolled to the bottom.
Updated•6 months ago
|
Severity: -- → S3
Priority: -- → P2
| Assignee | ||
Comment 1•6 months ago
|
||
Issue: After the sourcemap service has completed it should trigger and update which would cause maybeScrollToBottomMessageCallback ( which handles the auto scrolling)
to fire. But the shouldScrollBottom was failing, as it does not considrer the delayed updates which happen after the sourcemap service is done.
Updated•6 months ago
|
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Pushed by hmanilla@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/d6fc5d489d9b
https://hg.mozilla.org/integration/autoland/rev/98eef24b87ec
[devtools] Make sure to try auto-scroll after the completion of the sourcemap service r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Comment 4•5 months ago
|
||
Reopening based on this backout: https://bugzilla.mozilla.org/show_bug.cgi?id=1557795#c36
Status: RESOLVED → REOPENED
status-firefox141:
fixed → ---
Resolution: FIXED → ---
Target Milestone: 141 Branch → ---
Pushed by hmanilla@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f0190d869c7c
https://hg.mozilla.org/integration/autoland/rev/e29fa11e813c
[devtools] Make sure to try auto-scroll after the completion of the sourcemap service r=devtools-reviewers,nchevobbe
Comment 6•5 months ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 5 months ago → 5 months ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Updated•5 months ago
|
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in
before you can comment on or make changes to this bug.
Description
•