mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
983f882180
draw_image_video_element_test creates VideoElements, which the current frame is taken from when drawing to a CanvasElement. The test was waiting on the onCanPlay event of the VideoElement before drawing, although this might mean the video won't actually start playing. This fixes that issue by enabling autoplay and then awaiting the play Event. Change-Id: I100a552a1eb8e88b6b368d88e499f62f2db8e831 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/143621 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> |
||
---|---|---|
.. | ||
arc_test.dart | ||
canvas_rendering_util.dart | ||
draw_image_canvas_element_test.dart | ||
draw_image_video_element_test.dart | ||
fill_text_test.dart | ||
image_element_test.dart | ||
pixel_manipulation_test.dart |