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

Unified Diff: LayoutTests/fast/events/scroll-event-during-modal-dialog.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/scroll-event-during-modal-dialog.html
diff --git a/LayoutTests/fast/events/scroll-event-during-modal-dialog.html b/LayoutTests/fast/events/scroll-event-during-modal-dialog.html
deleted file mode 100644
index 08cda752bf1e09fe98e300bf763c2d1ccd26d080..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/events/scroll-event-during-modal-dialog.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-
-<style>
-#scrollable {
- height: 200px;
- width: 200px;
- overflow: scroll;
-}
-#scrollable div {
- height: 1000px;
-}
-</style>
-
-<script src="../../resources/js-test.js"></script>
-
-<div id="scrollable"><div></div></div>
-
-<script type="text/javascript">
-if (window.testRunner)
- testRunner.setCanOpenWindows();
-
-var jsTestIsAsync = true;
-var scrollable = document.getElementById('scrollable');
-
-description('Tests that scroll events are not fired while modal dialogs are displayed.');
-
-scrollable.onscroll = function() {
- debug('Scroll handler fired');
- dialog.close();
-}
-
-onload = function() {
- debug('Showing modal dialog');
- showModalDialog('resources/scroll-event-modal-dialog.html');
- debug('Returned from modal dialog');
- finishJSTest();
-}
-</script>
-

Powered by Google App Engine
This is Rietveld 408576698