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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-currentColor.js

Issue 408813007: Remove non-standard API entry points in CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove some unnecessary mac/virtual/gpu baselines Created 6 years, 1 month 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: LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js b/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
index 2682a40c9dd31d61155ecee177f9421e39319904..09b5ddfdc103aef881a14f2844654b7d4713f585 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
@@ -37,18 +37,6 @@ shouldBe("ctx.fillStyle = '#f00'; ctx.fillStyle", "'#ff0000'");
shouldBe("ctx.fillStyle = 'currentColor'; ctx.fillStyle", "'#000000'");
shouldBe("ctx.strokeStyle = '#f00'; ctx.strokeStyle", "'#ff0000'");
shouldBe("ctx.strokeStyle = 'currentColor'; ctx.strokeStyle", "'#000000'");
-shouldBe("ctx.setShadow(0, 0, 0, '#f00'); ctx.shadowColor", "'#ff0000'");
-shouldBe("ctx.setShadow(0, 0, 0, 'currentColor'); ctx.shadowColor", "'#000000'");
-shouldBe("ctx.setShadow(0, 0, 0, '#f00', 0.0); ctx.shadowColor", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setShadow(0, 0, 0, 'currentColor', 0.0); ctx.shadowColor", "'rgba(0, 0, 0, 0)'");
-shouldBe("ctx.setStrokeColor('#f00'); ctx.strokeStyle", "'#ff0000'");
-shouldBe("ctx.setStrokeColor('currentColor'); ctx.strokeStyle", "'#000000'");
-shouldBe("ctx.setStrokeColor('#f00', 0.0); ctx.strokeStyle", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setStrokeColor('currentColor', 0.0); ctx.strokeStyle", "'rgba(0, 0, 0, 0)'");
-shouldBe("ctx.setFillColor('#f00'); ctx.fillStyle", "'#ff0000'");
-shouldBe("ctx.setFillColor('currentColor'); ctx.fillStyle", "'#000000'");
-shouldBe("ctx.setFillColor('#f00', 0.0); ctx.fillStyle", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setFillColor('currentColor', 0.0); ctx.fillStyle", "'rgba(0, 0, 0, 0)'");
shouldBe("tryLinearGradientColor('#f00')", "'255,0,0,255'");
shouldBe("tryLinearGradientColor('currentColor')", "'0,0,0,255'");
shouldBe("tryRadialGradientColor('#f00')", "'255,0,0,255'");
@@ -65,18 +53,6 @@ shouldBe("ctx.fillStyle = '#f00'; ctx.fillStyle", "'#ff0000'");
shouldBe("ctx.fillStyle = 'currentColor'; ctx.fillStyle", "'#123456'");
shouldBe("ctx.strokeStyle = '#f00'; ctx.strokeStyle", "'#ff0000'");
shouldBe("ctx.strokeStyle = 'currentColor'; ctx.strokeStyle", "'#123456'");
-shouldBe("ctx.setShadow(0, 0, 0, '#f00'); ctx.shadowColor", "'#ff0000'");
-shouldBe("ctx.setShadow(0, 0, 0, 'currentColor'); ctx.shadowColor", "'#123456'");
-shouldBe("ctx.setShadow(0, 0, 0, '#f00', 0.0); ctx.shadowColor", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setShadow(0, 0, 0, 'currentColor', 0.0); ctx.shadowColor", "'rgba(18, 52, 86, 0)'");
-shouldBe("ctx.setStrokeColor('#f00'); ctx.strokeStyle", "'#ff0000'");
-shouldBe("ctx.setStrokeColor('currentColor'); ctx.strokeStyle", "'#123456'");
-shouldBe("ctx.setStrokeColor('#f00', 0.0); ctx.strokeStyle", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setStrokeColor('currentColor', 0.0); ctx.strokeStyle", "'rgba(18, 52, 86, 0)'");
-shouldBe("ctx.setFillColor('#f00'); ctx.fillStyle", "'#ff0000'");
-shouldBe("ctx.setFillColor('currentColor'); ctx.fillStyle", "'#123456'");
-shouldBe("ctx.setFillColor('#f00', 0.0); ctx.fillStyle", "'rgba(255, 0, 0, 0)'");
-shouldBe("ctx.setFillColor('currentColor', 0.0); ctx.fillStyle", "'rgba(18, 52, 86, 0)'");
shouldBe("tryLinearGradientColor('#f00')", "'255,0,0,255'");
shouldBe("tryLinearGradientColor('currentColor')", "'0,0,0,255'");
shouldBe("tryRadialGradientColor('#f00')", "'255,0,0,255'");

Powered by Google App Engine
This is Rietveld 408576698