Closed
Bug 286258
Opened 19 years ago
Closed 19 years ago
window.close() within tabs does nothing
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 183697
People
(Reporter: federico.razzoli, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 It seems that JavaScript method window.close() does nothing if the page is opened within a tab. Instead, it properly works if the page is opened within a window. Reproducible: Always Steps to Reproduce: 1. Visit this URL: http://www.quadronno.it/_autotrapianto2.php 2. MIDDLE-click on "Ingrandisci" (under the photos) 3. click on CHIUDI (close): it a link to "javascript:window.close();" Actual Results: Absolutely nothing. Expected Results: My personal opinion is that the tab should close. Another option could be to close the whole window, maybe with an alert message. Opera closes the tab.
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 183697 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•