• Xiaocheng Hu's avatar
    Change js-test.js not to add trailing <br> to debug message blocks · 9f1f0af6
    Xiaocheng Hu authored
    This is preparation for changing layout test test dump to innerText.
    
    js-test.js currently adds message blocks like:
    
    <div>message<br></div>
    
    In most cases, this is rendered in the same way as <div>message</div>,
    and also produces the same text dump as it. However, this results in
    an additional '\n' in innerText.
    
    Hence, to make switching to innerText easier, this patch removes the
    trailing <br> from js-test.js text dump.
    
    Per-file changes (in third_party/WebKit/LayoutTests/):
    - resources/js-test.js: actual change
    - Almost all *-expected.txt are rebaselines that differ only by adding
      or removing empty lines
    - The only exceptions are in flag-specific/enable-blink-features=LayoutNG
      where a few redundant flag-specific baselines are removed
    
    Bug: 887148
    Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
    Change-Id: I45ab0ac52fc74ae0fab0c5e1f05be7b915dfe384
    Reviewed-on: https://chromium-review.googlesource.com/1247196
    Commit-Queue: Kent Tamura <tkent@chromium.org>
    Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
    Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#595364}
    9f1f0af6
snav-only-clipped-overflow-content-expected.txt 315 Bytes