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

Side by Side Diff: LayoutTests/fast/dom/Window/setTimeout-setInterval-unique.html

Issue 58533003: Move fast/js/resources files to resources. (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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 8
9 description("This checks that setTimeout() and setInterval() return unique resul ts within their script execution context."); 9 description("This checks that setTimeout() and setInterval() return unique resul ts within their script execution context.");
10 10
11 function checkTimeoutIDs(tID1, tID2, tID3) 11 function checkTimeoutIDs(tID1, tID2, tID3)
12 { 12 {
13 debug("Checking the results of setTimeout:"); 13 debug("Checking the results of setTimeout:");
14 shouldBeTrue("tID1 > 0"); 14 shouldBeTrue("tID1 > 0");
(...skipping 29 matching lines...) Expand all
44 var iID2 = setInterval('echo("interval 2")', 0); 44 var iID2 = setInterval('echo("interval 2")', 0);
45 var tID3 = setTimeout('echo("timeout 3")', 0); 45 var tID3 = setTimeout('echo("timeout 3")', 0);
46 var iID3 = setInterval('echo("interval 3")', 0); 46 var iID3 = setInterval('echo("interval 3")', 0);
47 47
48 checkTimeoutIDs(tID1, tID2, tID3); 48 checkTimeoutIDs(tID1, tID2, tID3);
49 checkIntervalIDs(iID1, iID2, iID3); 49 checkIntervalIDs(iID1, iID2, iID3);
50 50
51 </script> 51 </script>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/script-tests/TEMPLATE.html ('k') | LayoutTests/fast/dom/Window/webkitConvertPoint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698