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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.js

Issue 2679083003: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Adding virtual/gpu/fast/canvas/canvas-imageSmoothingQuality.html to TestExpectations 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-invalid-strokestyle.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.js b/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.js
deleted file mode 100644
index 49cda85b35c6a0419450bf40c8bf9a80141cab24..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.js
+++ /dev/null
@@ -1,13 +0,0 @@
-description("Series of tests to ensure correct behaviour on an invalid strokeStyle()");
-var ctx = document.getElementById('canvas').getContext('2d');
-ctx.strokeStyle = 'rgb(0, 255, 0)';
-ctx.strokeStyle = 'nonsense';
-ctx.lineWidth = 200;
-ctx.moveTo(0,100);
-ctx.lineTo(200,100);
-ctx.stroke();
-var imageData = ctx.getImageData(0, 0, 200, 200);
-var imgdata = imageData.data;
-shouldBe("imgdata[4]", "0");
-shouldBe("imgdata[5]", "255");
-shouldBe("imgdata[6]", "0");

Powered by Google App Engine
This is Rietveld 408576698