Reproducible auditing error
#9059 ## Provide the steps to reproduce
- Run LH on http://ctf.infosecinstitute.com/img/leveltwo.jpeg
This page contains a corrupt image (by design), which apparently makes Lighthouse fail.
What is the current behavior?
"Channel: DevTools Initial URL: http://ctf.infosecinstitute.com/img/leveltwo.jpeg Chrome Version: 75.0.3770.80 Stack Trace: LHError: NO_FCP at eval (chrome-devtools://devtools/remote/serve_file/@9a9aa15057b6b2cc0909bdcf638c0b65ecd516f2/audits2_worker/audits2_worker_module.js:1219:206)"
#### What is the expected behavior?
Succesful (relatively simple) audit
Howdy chief! Appreciate you filing this bug. :clap:
This page seems to take too long to paint content, and Lighthouse gives up on waiting. If you need to change this behavior, you can run Lighthouse from the command line with a custom config modifying maxWaitForFcp. Marking at as dupe of #7415. Thanks! :robot: Beep beep boop.
This page contains a corrupt image (by design), which apparently makes Lighthouse fail.
Lighthouse isn't designed to audit images. The failure NO_FCP means that nothing was painted to screen, at least anything that Chrome considered rendering a web page.
The failure itself is fine (and can be more or less considered WAI), but we could definitely improve the error message. For non-html documents in particular, that would be covered by #9245. For NO_FCP errors in particular, #6154 is probably your best bet.