Closed Bug 263319 Opened 20 years ago Closed 20 years ago

window.close(); throws exception

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: garyvdm, Assigned: bugzilla)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041004 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041004 Firefox/0.10.1

window.close(); throws an exception, but still works.

Reproducible: Always
Steps to Reproduce:
1.Open popup window
2.Click on close button


Actual Results:  
Popup window closes as expected.

The following error can be viewed in the Javascript Console
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/bindings/browser.xml :: destroy :: line 522"  data: no]

Expected Results:  
No error.

Testcase to follow
Attached file Testcase: Popup window
Seems to only be Firefox, windows.

Dose not happen on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)
Gecko/20040803 (SeaMonkey)
Keywords: testcase
Summary: window.close(); throws exception → window.close(); throws exception
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041007
Firefox/0.10

WFM
worksforme linux seamonkey 1.8a4, firefox aviary 20041007
(1.8a4 does throw a different exception when clicking on the "Open Popup Window"
button, bug 261423)
...perhaps an extension/theme issue?
Ok - Just tested on a clean instalation of the same build, and it dose not
happen, so must be one of the extensions that I have installed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Verified WFM (not invalid) using Win FF 1.5.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: