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)

defect

Tracking

(firefox141 fixed)

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

Details

Attachments

(1 file)

STR

  1. 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>
  2. Open devtools console and refresh (The messages should be displayed and the console output should be scrolled to the bottom)
  3. 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.

Severity: -- → S3
Priority: -- → P2
Blocks: 1959452

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.

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
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Status: RESOLVED → REOPENED
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
Status: REOPENED → RESOLVED
Closed: 5 months ago5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: