waitForImage should call callback if image is already loaded #2714
Labels
changelog:skip
A changelog entry should not be added for a given issue.
status:confirmed
An issue confirmed by the development team.
target:minor
Any docs related issue that can be merged into a master or major branch.
type:task
Any other issue (refactoring, typo fix, etc).
Milestone
Type of report
Task
Provide description of the task
Test tool
waitForImage
calls callback onload
event, but when image is already loaded this event will never happen, and some browsers might load images earlier than others.https://github.com/ckeditor/ckeditor-dev/blob/master/tests/plugins/uploadfile/_helpers/waitForImage.js
I propose to add if branch:
Other details
The text was updated successfully, but these errors were encountered: