Hacker News new | ask | show | jobs
by jffry 1848 days ago
It's good to see that they've added a Content-Security-Policy related test. I checked and Lighthouse 8.0.0 still penalizes you on "best practices" if your CSP does not allow inline styles.

Something that Lighthouse injects for testing tap-targets has inline styles, and Chrome will log a warning to the console, and Lighthouse penalizes you for that: https://github.com/GoogleChrome/lighthouse/issues/11862

1 comments

This admittedly slipped our minds. We'll be sure to fix this for the next release. Thanks for the reminder.
Thanks! It's not a huge issue, just moderately amusing. Thanks for the work on Lighthouse.