New issue
Advanced search Search tips

Issue 807815 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: info note should be on right after expanding a logged function

Project Member Reported by l...@chromium.org, Feb 1 2018

Issue description

What steps will reproduce the problem?
(1) Evaluate `console.dir(function abc(){})` in the DevTools Console
(2) Expand the function

What is the expected result?
The blue 'i' info note should be on the right of the function name

What happens instead?
The blue 'i' info note appears between the function name and the arrow

Screenshot: https://imgur.com/a/qQUBb
Left: today, Right: ideal
 
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4573d04df35c3bc2f20209f2ed47900183bc2389

commit 4573d04df35c3bc2f20209f2ed47900183bc2389
Author: Erik Luo <luoe@chromium.org>
Date: Thu Feb 01 20:45:54 2018

DevTools: fix info note order for logged functions

Functions formatted in console populate their element asynchronously
with their function name. This may result in the blue 'i' info note
on the wrong side.

Screenshot: https://imgur.com/a/qQUBb

Bug:  807815 
Change-Id: Idd4e0bcba4369a0572dc26f57f61e46302205cb1
Reviewed-on: https://chromium-review.googlesource.com/896640
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Erik Luo <luoe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533806}
[modify] https://crrev.com/4573d04df35c3bc2f20209f2ed47900183bc2389/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Comment 2 by l...@chromium.org, Feb 1 2018

Status: Fixed (was: Assigned)

Sign in to add a comment