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

Side by Side Diff: LayoutTests/fast/events/fire-scroll-event.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 <html> 1 <html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <body style="min-width: 5000px; min-height: 5000px"> 3 <body style="min-width: 5000px; min-height: 5000px">
4 <script> 4 <script>
5 description('Checks that the scroll event fires on the document asychronously an d only once.'); 5 description('Checks that the scroll event fires on the document asychronously an d only once.');
6 6
7 var eventCount = 0; 7 var eventCount = 0;
8 var doneTimeout; 8 var doneTimeout;
9 9
10 onscroll = function(event) 10 onscroll = function(event)
11 { 11 {
12 eventCount++; 12 eventCount++;
(...skipping 17 matching lines...) Expand all
30 if (eventCount > 0) { 30 if (eventCount > 0) {
31 testFailed('Scroll event fired synchronously'); 31 testFailed('Scroll event fired synchronously');
32 finishJSTest(); 32 finishJSTest();
33 } 33 }
34 window.scrollTo(200, 200); 34 window.scrollTo(200, 200);
35 } 35 }
36 var jsTestIsAsync = true; 36 var jsTestIsAsync = true;
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/fire-popstate-event.html ('k') | LayoutTests/fast/events/flags-unset-on-init-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698