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

short_name shouldn't be required #2698

Closed
jakearchibald opened this issue Jul 17, 2017 · 3 comments · Fixed by #4860
Closed

short_name shouldn't be required #2698

jakearchibald opened this issue Jul 17, 2017 · 3 comments · Fixed by #4860
Assignees
Labels

Comments

@jakearchibald
Copy link

https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-core/audits/webapp-install-banner.js#L49

If the name property is short enough, you don't need short_name. The test should reflect this.

This is either a regression of #348, or wasn't fixed.

@patrickhulce
Copy link
Collaborator

Yeah looks like in the refactor into https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-core/gather/computed/manifest-values.js the fixed logic stopped being used even though the code is still there, looks like all we need to do is replace hasShortName with shortNameLength?

@paulirish
Copy link
Member

related bit: #686

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