Closed
Bug 1966005
Opened 1 year ago
Closed 1 year 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 external 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•1 year ago
|
Severity: -- → S3
Priority: -- → P2
| Assignee | ||
Comment 1•1 year 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•1 year 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
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Comment 4•1 year 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•1 year ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Updated•1 year 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
•