MD extensions "Errors" page should clip long messages
Reported by
woxxom@gmail.com,
Dec 4 2017
|
|||||
Issue description
Google Chrome 64.0.3282.5 (Official Build) canary (64-bit)
========================================
1. open chrome://extensions page
2. enable "Developer mode" in the top-right corner
3. install the attached extension
4. click "Errors" in the extension's card
Expected:
* the page is opened immediately
* the message doesn't overflow viewport bounds
* the trashcan icon is visible to the right of the error message in the viewport
Observed:
* the page is opened after a second or more
* the message overflow the viewport and a scrollbar appears on the bottom
* the trashcan icon is not in the viewport
========================================
Can be fixed by clipping messages to a preset length in JavaScript (e.g. 1000 characters) and specifying CSS overflow:
.error-message {
width: 440px;
overflow: hidden;
text-overflow: ellipsis;
}
,
Dec 5 2017
Grouping all error-console related bugs into a hotlist, so that we can better keep track of them.
,
Dec 6 2017
,
Dec 7 2017
,
Dec 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/70df9a14f7b4dc8edbed69be2eeac423f6ecadef commit 70df9a14f7b4dc8edbed69be2eeac423f6ecadef Author: Scott Chen <scottchen@chromium.org> Date: Fri Dec 08 19:43:36 2017 MD Extensions: fix error message styling in error-console. This CL fixes icon size and text-overflow issues on the error-console page. Bug: 791750 , 781316 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ia0d91e459c3425e6bdabba16006caf9958dc3433 Reviewed-on: https://chromium-review.googlesource.com/816034 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Scott Chen <scottchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#522845} [modify] https://crrev.com/70df9a14f7b4dc8edbed69be2eeac423f6ecadef/chrome/browser/resources/md_extensions/error_page.html
,
Dec 8 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by woxxom@gmail.com
, Dec 4 2017