Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-toDataURL-webp.html

Issue 2693043012: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698