Descriptionreport.format_html now ignores APIs not passed to it.
Previously, report.format_html would error if it tried to highlight
something that looked like an API, but didn't show up in the APIs dict
passed to it as an argument. For example, "chrome.google.com" would
trigger this bug. This CL changes the behaviour such that if something
API-like isn't contained in the APIs dict passed as an argument, then
report.format_html will assume that it is not an API, and will ignore
it.
Resolves https://github.com/chromium/caterpillar/issues/43 .
R=mgiuca@chromium.org
Committed: 9c3aa80cce5dd44dc8314b0b7205e6118e4942ad
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|