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: third_party/WebKit/LayoutTests/fast/dom/resources/raf-throttling-frame.html

Issue 2511283002: Revert of scheduler: Re-enable timer throttling for hidden frames (Closed)
Patch Set: 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/dom/resources/raf-throttling-frame.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/resources/raf-throttling-frame.html b/third_party/WebKit/LayoutTests/fast/dom/resources/raf-throttling-frame.html
deleted file mode 100644
index fa750dabbe49eb6db1b55bd1dc1210f7e252528e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/resources/raf-throttling-frame.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-
-<!-- Counts the number of animation frames that have been served to this frame. -->
-<script>
-let rafCount = 0;
-function raf() {
- rafCount++;
- requestAnimationFrame(raf);
-};
-requestAnimationFrame(raf);
-
-addEventListener('message', (e) => {
- e.source.postMessage(rafCount, e.origin);
-});
-</script>
-

Powered by Google App Engine
This is Rietveld 408576698