dart-sdk/tests/lib/html/canvasrendering
Srujan Gaddam 983f882180 [dart:html] Play videos in draw_image_video_element_test
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>
2020-04-16 00:23:23 +00:00
..
arc_test.dart [dart:html] Remove 2.7 annotation from lib/html 2020-04-06 20:41:14 +00:00
canvas_rendering_util.dart [dart:html] Remove 2.7 annotation from lib/html 2020-04-06 20:41:14 +00:00
draw_image_canvas_element_test.dart [dart:html] Remove 2.7 annotation from lib/html 2020-04-06 20:41:14 +00:00
draw_image_video_element_test.dart [dart:html] Play videos in draw_image_video_element_test 2020-04-16 00:23:23 +00:00
fill_text_test.dart
image_element_test.dart [dart:html] Remove 2.7 annotation from lib/html 2020-04-06 20:41:14 +00:00
pixel_manipulation_test.dart [dart:html] Remove 2.7 annotation from lib/html 2020-04-06 20:41:14 +00:00