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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/resources/timer-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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <!-- Measures the delay between two successive zero-delay timeouts. -->
4 <script>
5 addEventListener('message', (e) => {
6 setTimeout(() => {
7 let start = performance.now();
8 setTimeout(() => {
9 let end = performance.now();
10 e.source.postMessage(end - start, e.origin);
11 }, 0);
12 }, 0);
13 });
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698