Closed
Bug 303073
Opened 19 years ago
Closed 19 years ago
window.close() does not work in a popup window unless I open a second tab
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: nandhp, Unassigned)
Details
(Keywords: regression, testcase)
Attachments
(1 file)
|
374 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050801 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050801 Firefox/1.0+ window.close() does not work unless you have two tabs open. See test case. Reproducible: Always Steps to Reproduce: 1. Open a popup that uses window.close(). 2. window.close() silently fails 3. Open a second tab, switch back to the first and try again 4. window.close() works Actual Results: The window finally closed, but only at step 4. Expected Results: The window should have closed back at step 2.
Comment 2•19 years ago
|
||
Nice testcase! Works in 20050730 build, so probably a regression from bug 296639. However, this is probably a duplicate of bug 302889. Please test again with the 20050802 nightly trunk build.
Component: General → DOM
Keywords: regression,
testcase
Product: Firefox → Core
Version: unspecified → Trunk
Comment 4•19 years ago
|
||
Close WFM based on reporters comment 3. Thanks for reporting the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•