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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/animated-gif-fast-crash.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 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: third_party/WebKit/LayoutTests/fast/images/animated-gif-fast-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/animated-gif-fast-crash.html b/third_party/WebKit/LayoutTests/fast/images/animated-gif-fast-crash.html
deleted file mode 100644
index 2214ad9ccbb5ce6d4547d4d9c65aada8c401b4ac..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/animated-gif-fast-crash.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-Tests fast animating gif (10ms per frame). Passes if it doesn't crash.<br>
-<img src="resources/animated-10color-fast.gif">
-<script>
-
-// Busy-wait 50ms to trigger the bug of invalidation during paint.
-// The busy-waiting (as opposed to setTimout) is intentional, in order to
-// block the thread.
-function delay() {
- var startTime = new Date().getTime();
- while (new Date().getTime() - startTime < 50);
-}
-
-var count = 3;
-
-function displayOneFrame() {
- delay();
- if (--count >= 0)
- testRunner.layoutAndPaintAsyncThen(displayOneFrame);
- else
- testRunner.notifyDone();
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- displayOneFrame();
-}
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698