Skip to content
Commit 40501609 authored by Josh Nohle's avatar Josh Nohle Committed by Commit Bot
Browse files

[Nearby] Minor fixes to chrome://nearby-internals logging tab

(1) Add a newline at the end of each line when saving logs file.
(2) Show logs in chronological order.
(3) Fix issue which showed "../../" at the start of every filename.
(4) Fix issue where logs extend a few pixels past the horizontal width
of the page, resulting in an overflow and making it possible to scroll
left and right.
(5) Clean up some code in the <log-object> element.
(6) Use Polymer's array mutation method for unshift, which notifies
other elements bound to the same array of the changes. This will fix the
issue of needing to refresh to page to show log changes.

Changes 1-5 mirror exactly crrev/c/2372600 and crrev/c/2383790, which
correct the issues on the analogous chrome://multidevice-internals page.

Change-Id: I3bd2d922e291f86be5533716cfac74f67c5bdd2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401807


Commit-Queue: Josh Nohle <nohle@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805886}
parent 96c9b031
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment