Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434.

This commit is contained in:
Ms2ger
2015-08-11 17:14:59 +02:00
parent 84c4a26e4d
commit 88ea7c4291
192 changed files with 50802 additions and 1334 deletions

View File

@@ -483,6 +483,16 @@
var data = canvas.toDataURL('image/png');
@assert data =~ /^data:image\/png[;,]/;
- name: toDataURL.jpg
desc: toDataURL with image/jpg is invalid type hence returns a PNG
testing:
- toDataURL.jpg
- toDataURL.witharguments
code: |
var data = canvas.toDataURL('image/jpg');
@assert data =~ /^data:image\/png[;,]/;
- name: toDataURL.bogustype
desc: toDataURL with a syntactically invalid type returns a PNG
testing: