Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upValidate all images are actually images during the tests #431
Labels
Comments
Merged
|
Yeah I had a similar thought a while back: #88 We'd need to make sure this check only happens on newly-added (or newly updated) apps, so as to avoid making a jillion network requests. :) |
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We could do a
HEADrequest to all image URL's to ensure the mimeType returned is actually an image.This would prevent things like #430 where the URL added didn't actually point to an image👍
Existing tests: https://github.com/electron/electron-apps/blob/master/test/human-data.js#L100