blob: 9e41b3bcad46ba217ddb811cf67c2f5d80f786ed [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Checks that the first parameter to window.showModalDialog() is mandatory");
shouldThrow("window.showModalDialog()", "'TypeError: Not enough arguments'");
</script>
<script src="../../../resources/js-test-post.js"></script>