blob: ca8a1ab8161bef09e550a5f988d23b5ee1e72991 (
plain)
1
2
3
4
5
6
7
8
9
|
- name: 2d.video.invalid
desc: Verify test doesn't crash with invalid video.
canvas_types: ['HtmlCanvas']
code: |
var v = document.createElement('video');
v.play();
// Test is deliberately not waiting for the 'playing' event to fire.
ctx.createPattern(v, 'repeat-x');
ctx.drawImage(v, 0, 0);
|