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-name-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-name-getter-precedence.html
diff --git a/LayoutTests/fast/dom/Window/window-function-name-getter-precedence.html b/LayoutTests/fast/dom/Window/window-function-name-getter-precedence.html
index 5f40c8649f03368cedfd33572da69553fafec2f7..7075254574b875f54a5aff883a57076efd758082 100644
--- a/LayoutTests/fast/dom/Window/window-function-name-getter-precedence.html
+++ b/LayoutTests/fast/dom/Window/window-function-name-getter-precedence.html
@@ -37,13 +37,7 @@
element.id = functionName;
document.body.appendChild(element);
- // 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, "function", true);
- } else
- shouldBe("typeof window." + functionName, "function");
+ shouldBe("typeof window." + functionName, "function");
document.body.removeChild(element);
}

Powered by Google App Engine
This is Rietveld 408576698