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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js

Issue 2676493005: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments 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/script-tests/canvas-font-consistency.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js
deleted file mode 100644
index c5b3346223d47e52b034ea50ebda749cb11cda8e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-font-consistency.js
+++ /dev/null
@@ -1,14 +0,0 @@
-descriptionQuiet("Series of tests to ensure that context.font is consistent.");
-
-var canvas = document.createElement('canvas');
-var ctx = canvas.getContext('2d');
-var fontNames = ["bold 13px Arial",
- "italic 13px Arial",
- "small-caps 13px Arial"];
-
-for (var i = 0; i < fontNames.length; i++) {
- var fontName = fontNames[i];
- debug('Testing font "' + fontName + '"');
- ctx.font = fontName;
- shouldBe("ctx.font", "fontName");
-}

Powered by Google App Engine
This is Rietveld 408576698