Index: LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt |
diff --git a/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt b/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63eb1f51282ec6ab8f1bad1b203e906e7814b61b |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt |
@@ -0,0 +1,13 @@ |
+Checks that passing invalid strings to window.showModalDialog() is properly handled. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS newWindow = window.showModalDialog(nonConvertibleToString) threw exception Exception in toString(). |
+PASS newWindow is null |
+PASS newWindow = window.showModalDialog('about:blank', '', nonConvertibleToString) threw exception Exception in toString(). |
+PASS newWindow is null |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |