Index: LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments.html |
diff --git a/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments.html b/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments.html |
deleted file mode 100644 |
index 04ca06cc303de3301e5fb1af1ff1d0f52497c96f..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments.html |
+++ /dev/null |
@@ -1,20 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<script> |
-description("Checks that passing invalid strings to window.showModalDialog() is properly handled."); |
- |
-if (window.testRunner) |
- testRunner.setCanOpenWindows(); |
- |
-var nonConvertibleToString = { toString: function() { throw "Exception in toString()"; } }; |
-var newWindow = null; |
-shouldThrow("newWindow = window.showModalDialog(nonConvertibleToString)", "'Exception in toString()'"); |
-shouldBeNull("newWindow"); |
-shouldThrow("newWindow = window.showModalDialog('about:blank', '', nonConvertibleToString)", "'Exception in toString()'"); |
-shouldBeNull("newWindow"); |
-</script> |
-</body> |
-</html> |