New issue
Advanced search Search tips

Issue 779104 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Milestone replacement tokenizer missing a space

Project Member Reported by elawrence@chromium.org, Oct 27 2017

Issue description

https://chromium.googlesource.com/chromium/src/+blame/8bffda4cd007e678135806ec0861f046cb378e02/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js#1388

We should have a single whitespace here:

 text = Common.UIString(' M<XX>');

... because the regex that tokenizes to milestone consumes leading whitespace.
 
Missing Space.png
5.9 KB View Download
Cc: pfeldman@chromium.org
Status: Started (was: Untriaged)
https://chromium-review.googlesource.com/c/chromium/src/+/740979
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 30 2017

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

commit 188528810d1d8d53432d8a642628f3832f8efc8e
Author: Eric Lawrence <elawrence@chromium.org>
Date: Mon Oct 30 20:13:12 2017

Add space before Milestone token in Console message

The code that coalesces multiple messages to a summary message lacked
a space before the "M<XX>" string, but the regular expression that
matches the input consumes a space, meaning that the replacement
operation causes two words to run together. This CL adds a leading space
to the replaced text.

Bug:  779104 
Change-Id: Id8399a584e2988755d46bd56402f3846fd59f49e
Reviewed-on: https://chromium-review.googlesource.com/740979
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512591}
[modify] https://crrev.com/188528810d1d8d53432d8a642628f3832f8efc8e/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Status: Fixed (was: Started)

Sign in to add a comment