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

Unified Diff: LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix use-detatch.svg Created 6 years, 2 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/http/tests/misc/script-after-slow-stylesheet-removed.html
diff --git a/LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html b/LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html
index 7deeebfd284e26b914d19d1ad0ba8289210614bc..c3cac431710a28dd8e6b96bc6195fc8ed6834401 100644
--- a/LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html
+++ b/LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html
@@ -5,7 +5,7 @@ if (window.testRunner)
testRunner.dumpAsText();
var log = [];
-setTimeout(function() {
+requestAnimationFrame(function() {
log.push(1);
document.getElementById("sheet").remove();
log.push(2);

Powered by Google App Engine
This is Rietveld 408576698