14 <script src="../../resources/js-test.js"></script>
16 <div id="scrollable"><div></div></div>
18 <script type="text/javascript">
19 if (window.testRunner)
20 testRunner.setCanOpenWindows();
22 var jsTestIsAsync = true;
23 var scrollable = document.getElementById('scrollable');
25 description('Tests that scroll events are not fired while modal dialogs are displayed.');
27 scrollable.onscroll = function() {
28 debug('Scroll handler fired');
33 debug('Showing modal dialog');
34 showModalDialog('resources/scroll-event-modal-dialog.html');
35 debug('Returned from modal dialog');