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

Side by Side Diff: LayoutTests/fast/dom/timer-throttling-background-page-near-alignment-interval.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 description('<a href="http://crbug.com/259680">Bug 259680</a>: JavaScrip t setInterval lagging behind'); 5 description('<a href="http://crbug.com/259680">Bug 259680</a>: JavaScrip t setInterval lagging behind');
6 6
7 var jsTestIsAsync = true; 7 var jsTestIsAsync = true;
8 var intervalDuration = 1000; 8 var intervalDuration = 1000;
9 var testDuration = 4000; 9 var testDuration = 4000;
10 var expectedNumFires = 4; 10 var expectedNumFires = 4;
(...skipping 29 matching lines...) Expand all
40 testRunner.setPageVisibility("hidden"); 40 testRunner.setPageVisibility("hidden");
41 startTime = new Date().getTime(); 41 startTime = new Date().getTime();
42 intervalID = window.setInterval(timerFired, intervalDuration); 42 intervalID = window.setInterval(timerFired, intervalDuration);
43 } 43 }
44 </script> 44 </script>
45 </head> 45 </head>
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p> 47 <p>
48 This test ensures that intervals on background pages whose duration is close to the timer alignment interval don't miss every other firing. 48 This test ensures that intervals on background pages whose duration is close to the timer alignment interval don't miss every other firing.
49 </p> 49 </p>
50 <script src="../js/resources/js-test-post.js"></script>
51 </body> 50 </body>
52 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/text-api-arguments.html ('k') | LayoutTests/fast/dom/timer-throttling-hidden-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698