Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducible auditing error #9407

Closed
ArchimedusIII opened this issue Jul 18, 2019 · 2 comments
Closed

Reproducible auditing error #9407

ArchimedusIII opened this issue Jul 18, 2019 · 2 comments

Comments

@ArchimedusIII
Copy link

#9059 ## Provide the steps to reproduce

  1. 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
@devtools-bot
Copy link

Howdy chief! Appreciate you filing this bug. 👏

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!
🤖 Beep beep boop.

@brendankenny
Copy link
Member

brendankenny commented Jul 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants