What steps will reproduce the problem?
(1) Look at *-expected.txt files in //third_party/WebKit/LayotuTests/external/wpt/
e.g. //third_party/WebKit/LayotuTests/external/wpt/dom/historical-expected.txt
What is the expected result?
No trailing whitespaces.
What happens instead?
There are a trailing space on each of PASS lines.
Please use labels and text to provide additional information.
Such whitespace is warned in Gerrit, git rebase, etc.
A code fix would be very simple. In add_completion_callback() of testharnessreport.js,
sanitize(tests[i].message)
should be
sanitize(tests[i].message.trim())
However, updating many -expected.txt would be troublesome.
Comment 1 by qyears...@chromium.org
, Aug 7 2017