Closed Bug 227929 Opened 22 years ago Closed 22 years ago

Form target is ignored when javascript submit the form to a window

Categories

(SeaMonkey :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ruicapmi, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007 The same code runs well in Netscape 4.x and IE 4.x, 5.x, 6.x, But I tryed in Mozilla 1.4.x and 1.5.x and this don't run. Reproducible: Always Steps to Reproduce: 1. I have one form <form method="POST" action="/RequestHandler"> <input type="hidden" name="ANYITEM" value=""/> ...... </form> 2. I execute this script and the window opens ok. window.open("anypage.html","anyreference") 3. Finally i do this and the results are sended to de opener window document.forms[0].target="anyreference" document.forms[0].submit() Actual Results: The results are in the opener window and the target is ignored Expected Results: The results will must be viewed in the opened window
Attached file Testcase
The testcase works fine for me (current trunk build).... Could you please attach a testcase actually showing the problem?
Attached file TestCase
I have it! browser.block.target_new_window If this property in prefs.js is enable, produces the BUG efect. THIS NOT A BUG, but mozilla must alert of this situation, It make me craizy. Anyone can propose icon alert in status bar or similar?
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Why is this marked fixed? AFAIK, it shouldn't be marked fixed unless something's actually changed.
Apologize my english,I only try to close my false bug, but I not understain the posible options, and I commit the most rasonable, how can I make to help you, reopen bug? what is the correct option?
Reopening bug to resolve properly - as per comments.
Status: VERIFIED → UNCONFIRMED
Resolution: FIXED → ---
-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: