« XUL Reference home cancel() Return type: no return value Call this method to cancel and close the wizard. The code in the onwizardcancel attribute is called before the wizard is cancelled.