Open Bug 483386 Opened 12 years ago Updated 3 years ago
.close() not closing window
AFAICT window.close() can only close if the tab/window has been opened from the site with window.open() for security reasons. So INVALID?
It shouldnt matter how the website was coded - IE7 does close the window.
but IE7 does a lot of things that are not standard ;)
And Firefox and all other web browsers are expected to handle non-standard coding - and they do
oh, but even Opera closes the tab. So maybe I'm wrong..
DUPE of bug 451011?
The default settings don't allow it but the user can change the value of the pref dom.allow_scripts_to_close_windows to true if he wants. http://kb.mozillazine.org/About:config
Component: General → DOM: Core & HTML
Product: Firefox → Core
QA Contact: general → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.