blob: 2002a4249c7c8260a27d434735063e2391648389 [file] [log] [blame]
<html>
<script src="../../resources/js-test-pre.js"></script>
<body style="min-height: 2000px">
<script type="text/javascript">
description('Tests that scroll events are not fired while modal dialogs are displayed.');
var triggeredCaptureListener = false;
var triggeredBubbleListener = false;
onscroll = function()
{
debug('Scroll handler fired');
finishJSTest();
}
onload = function()
{
debug('Scrolling window');
window.scrollTo(200, 200);
debug('Showing modal dialog');
showModalDialog('resources/scroll-event-modal-dialog.html');
debug('Returned from modal dialog');
}
var jsTestIsAsync = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>