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

Unified Diff: LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.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/window-function-frame-getter-precedence.html
diff --git a/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html b/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html
index f4f0565754b47bcb87a78ba805f3468e13acfbf8..2605854c54e26584f6eac43ac4a490ffcb701391 100644
--- a/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html
+++ b/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html
@@ -38,13 +38,7 @@
iframe.name = functionName;
document.body.appendChild(iframe);
- // showModalDialog only works on mac in the DRT. So run this test only if its defined and print output only on failure.
- // This'll keep the output consistent on all platforms.
- if (functionName == "showModalDialog") {
- if (window.showModalDialog != undefined)
- shouldBe("typeof window." + functionName, "object", true);
- } else
- shouldBe("typeof window." + functionName, "object");
+ shouldBe("typeof window." + functionName, "object");
document.body.removeChild(iframe);
}

Powered by Google App Engine
This is Rietveld 408576698