-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add tests for image.onerror #11683
Add tests for image.onerror #11683
Conversation
This PR is blocked on the required "Travis CI - Pull Request" check after #14499. In order to trigger it, I will close and reopen this PR. |
aed6770
to
bdcbce3
Compare
@jdm, CI checks are all pass, it's ready for merge. :) |
@kaixinjxq Actually, I looked closer at #3688 and this doesn't actually address it. The two tests for 404 and 404.png are redundant as far as I can tell since it doesn't matter if the URL contains an image extension or not. #3675 (comment) indicated that if the sever provides a 404 response that actually contains image data, the image element should render it and fire the load event instead. |
@jdm, many thanks for your review! I just submit a new commit to address your comments, PTAL. |
Thanks! |
Fix #3688, @Ms2ger, PTAL.