New issue
Advanced search Search tips

Issue 860630 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 810581
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-Bisect Needs-Triage-M67
Cc: vamshi.kommuri@chromium.org
 Issue 860629  has been merged into this issue.
Looks like a duplicate of  bug 810581  fixed in Chrome 68.
Labels: -Needs-Bisect Triaged-ET
Mergedinto: 810581
Status: Duplicate (was: Unconfirmed)
Thanks for filing the issue!

As the issue looks similar to that of  Issue 810581 , hence merging into it, Please feel free to undupe if they aren't similar.
Note: Removing Needs-Bisect label.

Sign in to add a comment