New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 760902 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Suggestion: log warning when img sizes is invalid

Reported by oliverj...@gmail.com, Aug 31 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.25 Safari/537.36

Steps to reproduce the problem:
1. Create an img with an invalid sizes attribute
2. Open the console

What is the expected behavior?
A warning or error

What went wrong?
No warning or error

Did this work before? N/A 

Chrome version: 61.0.3163.25  Channel: n/a
OS Version: OS X 10.12.6
Flash Version: 

In the interim, it is possible to verify a sizes is valid using this library: https://github.com/albell/parse-sizes
 
Owner: phulce@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by phulce@chromium.org, Dec 13 2017

Status: WontFix (was: Assigned)
Thanks for filing @oliverjash, we've added the suggestion to the Lighthouse backlog where you can track discussion.

https://github.com/GoogleChrome/lighthouse/issues/4047

Sign in to add a comment