Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html |
| index e57c27065f1c4ce06699527382f23e518c36fbf0..7e0930b19af84cf9286c0dc3144150eda46ff1ff 100644 |
| --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html |
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html |
| @@ -19,7 +19,7 @@ image.onload = function() { |
| var dataURL = canvas.toDataURL('image/webp', 0.3); // low quality |
| - if (!dataURL.match(/^data:image\/webp[;,]/)) |
| + if (!dataURL.match(/^data:image\/webp[;, ]/)) |
|
Justin Novosad
2017/02/15 20:02:28
why?
zakerinasab
2017/02/16 17:32:07
Because this is an image/webp data url?
|
| error.textContent += "FAIL: the dataURL should have 'image/webp' type."; |
| else |
| result.src = dataURL; |