Form elements in popup can not be accessed from opener

Bug reports and enhancement requests
Post Reply
chado_moz
Posts: 2
Joined: Sat Sep 11, 2010 6:55 pm

Form elements in popup can not be accessed from opener

Post by chado_moz »

Form elements in popup window, I mean js-opened child window, can not
be accessed from script in opener window.

I'm seeing this on Minefield trunk builds and Firefox 4.0betas with
NoScript 2.0.2.x or 2.0.3, on Win XP SP3. Also on Ubuntu 10.04 on VM Guest.
Uh, same on SeaMonkey trunk.

steps to reproduce:
1. open the test page:
http://homepage3.nifty.com/chado/moz_wo ... ini_2.html
2. click "open" button to open child window named "new_win"
3. click "get child textbox" button to get new_win.document.forms['form0'].text.value

expected:
alert pops with "1234567890"

actual:
alert do not pop,
Error Console says "Error: new_win.document.forms.form0 is undefined"

Firefox 3.6.9 or NoScript 2.0.1 looks working good.
I tried Firefox trunk little earlier build:
rv:1.9.3a6pre) Gecko/20100626 Minefield/3.7a6pre ID:20100626035857.
with NoScript 2.0.1: works fine.
with NoScript 2.0.2.5: Error.

I'm usualy testing on localhost, addressed like http://localhost/xxxx/xxxx,
while "localhost" added in whitelist, ABE disabled.

Any workaround ? Thank you.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9
chado_moz
Posts: 2
Joined: Sat Sep 11, 2010 6:55 pm

[WFM] Form elements in popup can not be accessed from opener

Post by chado_moz »

Form elements in popup window, I mean js-opened child window, can not
be accessed from script in opener window.
NoScript looks no longer interference with such a function in ver. 2.0.3.3.
Verified on:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a6pre) Gecko/20100626 Minefield/3.7a6pre ID: 20100626035857
and
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101007 Firefox/4.0b8pre ID: 20101007042624.

Thank you.
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101007 Firefox/4.0b8pre
Post Reply