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

Add tests for image.onerror #11683

Merged
merged 3 commits into from
Dec 24, 2018
Merged

Conversation

xiuqijix
Copy link
Contributor

Fix #3688, @Ms2ger, PTAL.

@wpt-pr-bot wpt-pr-bot requested review from jdm, jgraham and zqzhang June 27, 2018 08:16
@xiuqijix
Copy link
Contributor Author

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.

@xiuqijix
Copy link
Contributor Author

@jdm, CI checks are all pass, it's ready for merge. :)

@jdm
Copy link
Contributor

jdm commented Dec 21, 2018

@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.

@xiuqijix
Copy link
Contributor Author

@jdm, many thanks for your review! I just submit a new commit to address your comments, PTAL.

@jdm jdm merged commit a357943 into web-platform-tests:master Dec 24, 2018
@jdm
Copy link
Contributor

jdm commented Dec 24, 2018

Thanks!

@xiuqijix xiuqijix deleted the issue_3688_img branch December 25, 2018 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants