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

Unified Diff: LayoutTests/fast/dom/Window/open-window-min-size.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/dom/Window/open-window-min-size.html
diff --git a/LayoutTests/fast/dom/Window/open-window-min-size.html b/LayoutTests/fast/dom/Window/open-window-min-size.html
deleted file mode 100644
index 0f70cc3733ce7611fd7a57b75526ffeb81d034ee..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Window/open-window-min-size.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script>
-function validate(msg) {
- shouldBeGreaterThanOrEqual(msg["width"].toString(), "100");
- shouldBeGreaterThanOrEqual(msg["height"].toString(), "100");
-}
-
-function test() {
- var data = window.showModalDialog("resources/report-size-and-close.html", "", "dialogWidth:10; dialogHeight:10");
- validate(data);
-
- window.addEventListener('message', function(e) {
- validate(e.data);
- e.source.close();
- testRunner.notifyDone();
- }, false);
- window.open("resources/report-size-and-close.html", "non-empty-argument", "width=10, height=10");
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- testRunner.setCloseRemainingWindowsWhenComplete(true);
-}
-
-</script>
-</head>
-<body onload="test()">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698