«
XUL Reference home
cancelDialog()
Return type:
no return value
Cancels the dialog and closes it, similar to pressing the Cancel button.