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); |
} |