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