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

Unified Diff: LayoutTests/canvas/synchronous-create-pattern.html

Issue 1175773002: Remove flaky test "synchronous-create-pattern.html" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/canvas/resources/35ms-green-flash-at-35ms.svg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/canvas/synchronous-create-pattern.html
diff --git a/LayoutTests/canvas/synchronous-create-pattern.html b/LayoutTests/canvas/synchronous-create-pattern.html
deleted file mode 100644
index 7e6c6f5ac3bd75e8be8106a5944c1d043cc316bd..0000000000000000000000000000000000000000
--- a/LayoutTests/canvas/synchronous-create-pattern.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<script>
-var canvas, context, pattern, image;
-
-function runTest() {
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- canvas = document.getElementById('canvas');
- context = canvas.getContext('2d');
-
- // Initialize the canvas with orange.
- context.fillStyle = '#FFA500';
- context.fillRect(0, 0, 100, 100);
-
- image = document.createElement('img');
- image.setAttribute('src', 'resources/35ms-green-flash-at-35ms.svg');
- image.onload = function() {
- setTimeout(function() { createPattern(); }, 50);
- setTimeout(function() { drawPatternAndFinish(); }, 100);
- }
-}
-
-function createPattern() {
- pattern = context.createPattern(image, 'repeat');
-}
-
-function drawPatternAndFinish() {
- context.fillStyle = pattern;
- context.fillRect(0, 0, 200, 200);
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-<body onload='runTest()'>
- Test for crbug.com/279445: createPattern should synchronously snapshot an animating image.<br/>
- This test passes if there is a green square below.<br/>
- <canvas id='canvas' width='100' height='100'></canvas>
-</body>
-</html>
-
« no previous file with comments | « LayoutTests/canvas/resources/35ms-green-flash-at-35ms.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698