Incorrect string is replaced
Reported by
splincod...@gmail.com,
Apr 16 2018
|
|||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Steps to reproduce the problem:
Set in console code
console.log('%c%s', `
background: #f4f4f4;
border: 1px solid #ddd;
border-left: 3px solid #f36d33;
color: #666;
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin: 1.6em 5px;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
`, 'code');
What is the expected behavior?
The behavior should be expected like that of firefox
What went wrong?
In Chrome, it's unclear where the empty lines come from
Did this work before? Yes 64
Chrome version: 65.0.3325.181 Channel: stable
OS Version: 10.0
Flash Version:
,
Apr 17 2018
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 14.04 using chrome reported version #65.0.3325.181 and latest canary #68.0.3397.0. This is a non-regression issue as it is observed from M60 old builds. Attaching a screen shot of M60 behaviour. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Apr 18 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0fc5f6267748c8f431183f88706ade7eb4425615 commit 0fc5f6267748c8f431183f88706ade7eb4425615 Author: Pavel Feldman <pfeldman@chromium.org> Date: Wed Apr 18 00:13:09 2018 DevTools: fix corner case of message formatter. Bug: 833586 Change-Id: I87e956cadfa62a79aa549f22fe09211ee7cf25ce Reviewed-on: https://chromium-review.googlesource.com/1015773 Reviewed-by: Erik Luo <luoe@chromium.org> Commit-Queue: Pavel Feldman <pfeldman@chromium.org> Cr-Commit-Position: refs/heads/master@{#551532} [add] https://crrev.com/0fc5f6267748c8f431183f88706ade7eb4425615/third_party/WebKit/LayoutTests/http/tests/devtools/unit/string-util-expected.txt [add] https://crrev.com/0fc5f6267748c8f431183f88706ade7eb4425615/third_party/WebKit/LayoutTests/http/tests/devtools/unit/string-util.js [modify] https://crrev.com/0fc5f6267748c8f431183f88706ade7eb4425615/third_party/blink/renderer/devtools/front_end/platform/utilities.js
,
Apr 18 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Apr 17 2018