New issue
Advanced search Search tips

Issue 824625 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

copied javascript properties from scope pane have lots of newlines

Reported by zac.spit...@gmail.com, Mar 22 2018

Issue description

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

Steps to reproduce the problem:
1. open this bug :)
2. open dev tools
3. in the sources tab, press pause
4. in the pause script execution
5. in the scopes panel expand this, select the first few properties and copy the selection

What is the expected behavior?
$:ƒ $(id)
AC_COMMA_KEYCODE:44
ALIGN_BOTTOM:"b"
ALIGN_MIDDLE:"m"
ALIGN_TOP:"t"
AUTOSIZE_STEP:3

What went wrong?
$
:
ƒ $(id)
AC_COMMA_KEYCODE
:
44
ALIGN_BOTTOM
:
"b"
ALIGN_MIDDLE
:
"m"
ALIGN_TOP
:
"t"
AUTOSIZE_STEP
:
3

Did this work before? N/A 

Chrome version: 65.0.3325.162  Channel: n/a
OS Version: 10.0
Flash Version:
 
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)
Project Member

Comment 2 by bugdroid1@chromium.org, May 26 2018

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

commit 632db57a0254f5c56950416aa935988e2174029a
Author: Joel Einbinder <einbinder@chromium.org>
Date: Sat May 26 00:32:19 2018

DevTools: Improve text selection in ObjectPropertiesSection

This consolidates the name, colon, and value into a single flex item,
which removes extraneous line breaks when copying text, improves
paragraph selection, and fixes some overlapping selection highlights.

Bug: 824625
Change-Id: I90e01990cbf8c2e90da4aba8a9a9bd0f035a8e67
Reviewed-on: https://chromium-review.googlesource.com/976329
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Erik Luo <luoe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562082}
[modify] https://crrev.com/632db57a0254f5c56950416aa935988e2174029a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-log-object-with-getter-expected.txt
[modify] https://crrev.com/632db57a0254f5c56950416aa935988e2174029a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-object-preview-expected.txt
[modify] https://crrev.com/632db57a0254f5c56950416aa935988e2174029a/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-proxy-expected.txt
[modify] https://crrev.com/632db57a0254f5c56950416aa935988e2174029a/third_party/blink/renderer/devtools/front_end/object_ui/ObjectPropertiesSection.js
[modify] https://crrev.com/632db57a0254f5c56950416aa935988e2174029a/third_party/blink/renderer/devtools/front_end/object_ui/objectPropertiesSection.css

Cc: einbinder@chromium.org
 Issue 867818  has been merged into this issue.

Sign in to add a comment