blob: f9b48fb8daa2a247e9e22a18b5e891be3351bda9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
- name: 2d.video.invalid
desc: Verify test doesn't crash with invalid video.
canvasType:
['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);
|