Commit 7c3df8e0 authored by David Grogan's avatar David Grogan Committed by Commit Bot

LayoutTestResults: remove blank space before test name when copying

There was a blank space before each test name when copying plain text
report.

Before:
` css3/flexbox/flex-flow-auto-margins.html`
` external/wpt/css/css-flexbox/flex-lines/multi-line-wrap-reverse-column-reverse.html`

Now:
`css3/flexbox/flex-flow-auto-margins.html`
`external/wpt/css/css-flexbox/flex-lines/multi-line-wrap-reverse-column-reverse.html`


Change-Id: I4195af5f95347754bcfabefed04c9ce3cd387993
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904351Reviewed-by: default avatarAleks Totic <atotic@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713650}
parent 611e49df
......@@ -528,8 +528,7 @@ const Report = {
let pathParser = new PathParser(path);
let html = `
<div class='expect' tabindex='0' data-id='${test.expectId}'>
<div class='details'></div>${Report.printFlag(test)}
${pathParser.dir}<a target='test' tabindex='-1' href='${pathParser.testHref}'>${pathParser.file}${pathParser.query}</a>
<div class='details'></div>${Report.printFlag(test)}${pathParser.dir}<a target='test' tabindex='-1' href='${pathParser.testHref}'>${pathParser.file}${pathParser.query}</a>
</div>`;
traversal.html.push(html);
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment