New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 642414 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 29 days ago
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: Pretty print inconsistent spacing

Project Member Reported by einbinder@chromium.org, Aug 30 2016

Issue description

Versions Tested: 55, 52

What steps will reproduce the problem?
(1) Make a new snippet
(2) Add the code:
1 || null;
1 || 2;
(3) Click the pretty print button

What is the expected output?
1 || null;
1 || 2;

What do you see instead?
1 || null ;
1 || 2;
There is an extra space after the null and before the ;. And it is inconsistent with the 1 || 2;

 
Summary: DevTools: Pretty print inconsistent spacing (was: DevTools: )
Components: Platform>DevTools
Status: Fixed (was: Assigned)

Sign in to add a comment