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)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nandhp, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(1 file)

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.
Attached file Testcase
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
It is fixed in 20050802, sorry to bother you.
Close WFM based on reporters comment 3. Thanks for reporting the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: