DevTools: console does not scroll to bottom when logging DOM nodes |
|||
Issue description
Chrome Mac 52.0.2707.0 canary (64-bit)
Run the following code:
for (var i = 0; i < 10000; ++i) console.log("hello", document.body)
Or simply visit the page here:
https://output.jsbin.com/qefeso
Expected: console is always scrolled to bottom
Actual: console stops scrolling to bottom.
,
Jul 26 2016
,
Aug 1 2016
This also happens when logging functions that contain a preview of their definition, which is loaded asynchronously.
E.g.
> function abc(){ return 'foo' }
> i = 0
> setInterval(() => console.log(++i, abc), 100)
,
Aug 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/47da3b4f70636bbac1d874a6710ee6a5806b5392 commit 47da3b4f70636bbac1d874a6710ee6a5806b5392 Author: luoe <luoe@chromium.org> Date: Sat Aug 13 00:22:50 2016 DevTools: fix stick to bottom in console viewport BUG= 603294 Review-Url: https://codereview.chromium.org/2179123004 Cr-Commit-Position: refs/heads/master@{#411829} [modify] https://crrev.com/47da3b4f70636bbac1d874a6710ee6a5806b5392/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom-expected.txt [modify] https://crrev.com/47da3b4f70636bbac1d874a6710ee6a5806b5392/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html [modify] https://crrev.com/47da3b4f70636bbac1d874a6710ee6a5806b5392/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js [modify] https://crrev.com/47da3b4f70636bbac1d874a6710ee6a5806b5392/third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js
,
Aug 13 2016
can Crome developers add a temporary solution, perhaps programatically? when will you fix this already? i've found complaints about this from years ago.
,
Aug 15 2016
We've landed this change on Chrome Canary. You should be able to see it work there. We will have to wait for it to flow up to Stable channel when versions get updated. Sorry for the wait iamoren@, I'm very much looking forward to this too. There are a lot of bugs we have in crbug.com, but we encourage people to star issues they care about or file new tickets, as it will help us prioritize. |
|||
►
Sign in to add a comment |
|||
Comment 1 by lushnikov@chromium.org
, Jul 12 2016Owner: l...@chromium.org