window.opener referencing does not work since 3.5.6

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
9 years ago
7 years ago

People

(Reporter: wbreda, Unassigned)

Tracking

3.6 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 2011-2-25])

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6

Since 3.5.6 window.opener.formname to reference a form from a popup does not work anymore.

The popup window is created using window.open. From this window I use window.opener.formname.textboxname.value="value" to fill a form value, but this produces "Error: window.opener.formname is undefined"

In 3.5.5 (and before) this works flawlessly as does IE, Chrome and Safari.



Reproducible: Always

Steps to Reproduce:
1. Create form
2. Open new window with JavaScript window.open
3. Modify value on inputform on parent window with window.opener.formname.textboxname.value="value" 
4. error message
Actual Results:  
Error message "Error: window.opener.formname is undefined"
form value is not modified

Expected Results:  
No error 
Value modified

Probably broken after security fix (bugid 522430)
http://www.mozilla.org/security/announce/2009/mfsa2009-70.html

Technique works in other browsers and Firefox 3.5.5 and before
(Reporter)

Updated

9 years ago
Summary: window.opener.window.opener does not work since 3.5.6 → window.opener refrencing does not work since 3.5.6
(Reporter)

Updated

9 years ago
Summary: window.opener refrencing does not work since 3.5.6 → window.opener referencing does not work since 3.5.6

Updated

9 years ago
Version: unspecified → 3.5 Branch
(Reporter)

Comment 1

9 years ago
Bug still exists in 3.6
Version: 3.5 Branch → 3.6 Branch
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-2-25]
No reply from reporter, INCOMPLETE. Please retest with Firefox 4 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.