Closed Bug 189770 Opened 22 years ago Closed 22 years ago

didn't open windows onclose function at body

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Other Branch
x86
FreeBSD
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 130719

People

(Reporter: dmitry, Assigned: dmitry)

Details

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021225
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021225


this html code in the frame 
<body
onUnload="window.open('Account.pl?func=chat_exit&room_id=1','lalala','status=no,toolbar=no,menubar=no,scrollbars=no,top=2500,left=2500,screenX=2500,screenY=2500,width=1,height=1');">

new window didn't appear.
javascript console: 

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame :: <unknown filename> :: onunload ::
line 0"  data: no]

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Expected Results:  
window opens
Work for me on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b)
Gecko/20030119. This bug is dupe of bug 166654, fixed in bug 130719.

Dupe of bug 130719?
please don't file bugs with browsers more than one release old (this was fixed
by 1.2)
Assignee: rogerl → dmitry
Component: JavaScript Engine → Event Handling
Version: Trunk → Other Branch

*** This bug has been marked as a duplicate of 130719 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Setting default QA and marking Verified Duplicate -
Status: RESOLVED → VERIFIED
QA Contact: pschwartau → trix
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.