Closed Bug 310262 Opened 19 years ago Closed 19 years ago

window.open gives exception after a proliferated period of use

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 309775

People

(Reporter: minghong, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

This is probably a dup of something. This problem first appear in Firefox 1.5
Beta 1. I haven't seen this problem in Deer Park Alpha 2 and earlier.

The problem is that after calling a number of window.open, window.open doesn't
open a new window and gives the following exception:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
http://www.hkflash.com/diary/diary4.asp?id=madeline&tdate=2005-9 :: d :: line
13"  data: no]

The URL is not important. I've encountered this problem in a number of sites and
web applications.

I have to restart Firefox to get it works again.

Reproducible: Always

Steps to Reproduce:
1. Find any website that uses JavaScript popup window
2. Open and close the window repeatedly, until it no longer open a popup window
3. Open JavaScript Console to see the exception message

Actual Results:  
Give JavaScript exception; No new popup window opened.

Expected Results:  
No exception; Open a new popup window.

*** This bug has been marked as a duplicate of 309775 ***
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.