New issue
Advanced search Search tips

Issue 822118 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Feature



Sign in to add a comment

devtool's console pannel not work compat terminal color string

Reported by frankfen...@gmail.com, Mar 15 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36

Steps to reproduce the problem:
1. i use node require('chalk') plugin in gulp,like this : var gulp = require('gutil');gulp.log(gutil.colors.yellow('####'); 
It is use terminal's color output, this article:
http://voidcanvas.com/make-console-log-output-colorful-and-stylish-in-browser-node/
2. on chrome devtool console pannel, it output "####" , the [33m is terminal's color identifyer, just indicate use color yellow to output
3. chrome and terminal, use different method to output color string,but sometimes i debug program in ide or terminal, sometimes i debug program in chrome devtool, the two not compat method make console output looks stranged. please make chome console compat terminal's color string ?

What is the expected behavior?

What went wrong?
chome console not compat terminal's color string 

Did this work before? N/A 

Chrome version: 65.0.3325.162  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
Labels: Needs-Triage-M65
Cc: vamshi.kommuri@chromium.org
Labels: -Type-Bug Triaged-ET OS-Linux OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue!

As per point no.3 in comment#0 by reporter, which says "please make chrome console compat terminal's color string ?" considering it as a feature request and marking it as Untriaged. Requesting someone from "Platform>DevTools" team to have a look into it.
Labels: M-67 Target-67 FoundIn-67
Labels: -Pri-2 Pri-3
Owner: l...@chromium.org
Status: Assigned (was: Untriaged)
Eric, would it be worth it to provide some sort of terminal compatibility in the console?

Comment 5 by l...@chromium.org, Mar 22 2018

Status: WontFix (was: Assigned)
Thanks for the report!  I see the value in a common format for styling logs.  A better place to discuss this would actually be with the standards folks on Github [1], who define the Console specification [2].  If they decide that browser Console's should support and maintain logic for terminal style format, we can do so.

I'm marking this as WontFix for now, since we would like to get commitment from the spec writers first.  Could you please submit an issue to them? [1]

[1] https://github.com/whatwg/console/issues/
[2] https://console.spec.whatwg.org/

Sign in to add a comment