Closed Bug 264337 Opened 20 years ago Closed 20 years ago

window.opener does not work

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: alexmipego, Assigned: bugzilla)

Details

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

I was developing a application with popups and I needed to pass a value from the
popup to the opener window. I made it like I always had done, with
opener.document.getElementByID() and it worked in IE. Then I tested it in
firefox and the Javascript Console says opener have no properties.
I checked the O'Reilly reference in DreamWeaver and it says opener should be
supported since IE3 and NS3. 

Reproducible: Always
Steps to Reproduce:
1.Use a window.open to open a popup
2.In popup try to use opener.document or any other property 


Actual Results:  
No error visible to the use that do not open Javascript Console

Expected Results:  
The opener should expose all the properties of the window where window.open was
called.
url please
My error, sorry. When I was building a testcase page I found that I had a type
error in the field name. Even so shouldn't the getElementById return a "ID not
found" instead of "have no properties"?
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.