Requests that the window should close.
- Safari Desktop 5.0+
- Safari Extensions JS
This method has the same behavior as clicking a window’s close button—clicking does not necessarily cause the window to close. After a window closes, the value of all of its properties is
undefined and all of its prototype’s methods return