New issue
Advanced search Search tips

Issue 860629 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 860630
Owner: ----
Closed: Jul 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

bug(console): line breaks do not work in the console

Reported by splincod...@gmail.com, Jul 6

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
Paste here in console:

console.log(`
  %cToday date=>
  %c${new Date()}
  %c${new Date()}
  %c${new Date()}
  %c${new Date()}
  %c${new Date()}`,
  `color:#F74C2F`, `color:green`, `color:green`, `color:green`, `color:green`, `color:green`
);

Result:

Today date=> Fri Jul 06 2018 11:40:30 GMT+0300 Fri Jul 06 2018 11:40:30 GMT+0300Fri Jul 06 2018 11:40:30 GMT+0300 
  Fri Jul 06 2018 11:40:30 GMT+0300 
 			Fri Jul 06 2018 11:40:30 GMT+0300 

What is the expected behavior?
Today date=>
  Fri Jul 06 2018 11:40:28 GMT+0300
  Fri Jul 06 2018 11:40:28 GMT+0300
  Fri Jul 06 2018 11:40:28 GMT+0300
  Fri Jul 06 2018 11:40:28 GMT+0300
  Fri Jul 06 2018 11:40:28 GMT+0300

What went wrong?
It is not true to format line breaks

Did this work before? Yes 64

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
42369077-84785a2c-8111-11e8-8115-e08d622f57a2.png
214 KB View Download
Labels: Needs-Triage-M67
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET
Mergedinto: 860630
Status: Duplicate (was: Unconfirmed)
Thanks for filing the issue!

As the issue looks very similar to that of  Issue 860630  hence merging into it.

Sign in to add a comment