Lighthouse: Gracefully handle invalid URL in Unused CSS rules

Created on 20 Mar 2017  ·  5Comments  ·  Source: GoogleChrome/lighthouse

Errors the whole audit currently.
image

P3 bug chillin ❄

Most helpful comment

I think it's more that it's just not a URL at all, but I'll investigate (we currently handle cases of null and empty string which reflect that it didn't have a URL/was inline/was injected, I'm guessing there's another special case I'm missing).

All 5 comments

discovered in #1877

perhaps if it's not parseable just prepend the hostname?

I think it's more that it's just not a URL at all, but I'll investigate (we currently handle cases of null and empty string which reflect that it didn't have a URL/was inline/was injected, I'm guessing there's another special case I'm missing).

Probably a better idea 😃

nothing much reported since then, let's close instead of chill :)

Was this page helpful?
0 / 5 - 0 ratings