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

Unified Diff: LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html

Issue 217003006: Remove carriage returns from LayoutTests (01) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix caret-and-focus-ring Created 6 years, 9 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: LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html
diff --git a/LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html b/LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html
index 21400d571e00ed5bd36fcac5184557783abb2cfd..2a0984ba734577c63cd774967bfcd17a7bc6c4c1 100644
--- a/LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html
+++ b/LayoutTests/canvas/philip/tests/2d.text-custom-font-load-crash.html
@@ -1,33 +1,33 @@
-<!DOCTYPE html>
-<div>Test passes if it does not crash.</div>
-<script src="../tests.js"></script>
-<style>
-@font-face {
-font-family: CanvasTest;
- src: url("does_not_exist.ttf");
-}
-</style>
-<applet>
-<canvas id="c">
-</applet>
-<ul id="d"></ul>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-_addTest(function(canvas, ctx) {
-
-ctx.fillRect(0, 0, 100, 50);
-ctx.font = '1px CanvasTest';
-ctx.fillText('AA', 0, 50);
-deferTest();
-
-setTimeout(wrapFunction(function () {
- ctx.fillText('AA', 0, 50);
-
- if (window.testRunner)
- testRunner.notifyDone();
-}), 500);
-
-});
-</script>
+<!DOCTYPE html>
+<div>Test passes if it does not crash.</div>
+<script src="../tests.js"></script>
+<style>
+@font-face {
+font-family: CanvasTest;
+ src: url("does_not_exist.ttf");
+}
+</style>
+<applet>
+<canvas id="c">
+</applet>
+<ul id="d"></ul>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+_addTest(function(canvas, ctx) {
+
+ctx.fillRect(0, 0, 100, 50);
+ctx.font = '1px CanvasTest';
+ctx.fillText('AA', 0, 50);
+deferTest();
+
+setTimeout(wrapFunction(function () {
+ ctx.fillText('AA', 0, 50);
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+}), 500);
+
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698