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

Side by Side Diff: LayoutTests/fast/events/fire-scroll-event-element.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 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <body> 3 <body>
4 <div id="container" style="overflow: auto; width: 500px; height: 500px"> 4 <div id="container" style="overflow: auto; width: 500px; height: 500px">
5 <div style="height: 5000px; width: 5000px;"></div> 5 <div style="height: 5000px; width: 5000px;"></div>
6 </div> 6 </div>
7 <script> 7 <script>
8 description('Checks that the scroll event fires on elements asychronously and on ly once.'); 8 description('Checks that the scroll event fires on elements asychronously and on ly once.');
9 9
10 var eventCount = 0; 10 var eventCount = 0;
(...skipping 23 matching lines...) Expand all
34 container.addEventListener('scroll', scrollHandler, false); 34 container.addEventListener('scroll', scrollHandler, false);
35 container.scrollTop = 100; 35 container.scrollTop = 100;
36 if (eventCount > 0) { 36 if (eventCount > 0) {
37 testFailed('Scroll event fired synchronously'); 37 testFailed('Scroll event fired synchronously');
38 finishJSTest(); 38 finishJSTest();
39 } 39 }
40 container.scrollTop = 200; 40 container.scrollTop = 200;
41 } 41 }
42 var jsTestIsAsync = true; 42 var jsTestIsAsync = true;
43 </script> 43 </script>
44 <script src="../js/resources/js-test-post.js"></script>
45 </body> 44 </body>
46 </html> 45 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/fire-scroll-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