Closed Bug 345018 Opened 20 years ago Closed 19 years ago

When opening a new window (with javascript) and trying to submit a form which "target" is newly opened window will display "about:blank" page instead of document requested in form.

Categories

(Toolkit :: Password Manager, defect)

1.8.0 Branch
x86
Linux
defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: newslettersforjml, Unassigned)

Details

(Keywords: testcase, Whiteboard: CLOSEME 06/27)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.5) Gecko/20060706 Firefox/1.5.0.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.5) Gecko/20060706 Firefox/1.5.0.5 To reproduce this: 1. make a form and set target parameters(or attribute) value to "foobar" 2. create account and password input fields to form 3. open a new window with javascript, give it a name e.g. "foobar" 4. submit the form and when the password manager asks what to do with account&password pair any answer will result "about:blank" page in new window Page is correctly loaded when the password manager does not ask anything. In FF 1.5.0.4 if one answers "Never for this site" the browser will crash - always. Presumes that current address is not on Password managers "Passwords never saved" page. In FF 1.5.0.5 just a blank page is loaded. Reproducible: Always Steps to Reproduce: 1. make a form and set target parameters(or attribute) value to "foobar" 2. create account and password input fields to form 3. open a new window with javascript, give it a name e.g. "foobar" 4. submit the form and when the password manager asks what to do with account&password pair any answer will result "about:blank" page in new window Actual Results: Blank page. FF 1.5.0.4 crashes Expected Results: Page is loaded to new window.
Is there a webpage where I can see the problem, or could you attach it to the bug?
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks! If it is still a problem, can you please attach a testcase or supply an URL as per comment 1?
Whiteboard: CLOSEME 06/27
Version: unspecified → 1.5.0.x Branch
Closing as requested. I have no time to test this for now.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
If you can't retest we'll leave this bug open.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
This testcase will display a login form with fields for username and password, as well as a submit button. There is javascript in the testcase that will launch a new window (in this case a tab) as soon as the page loads. Enter in a username and password and click submit. The password manager should display and behave properly. Submitting should yield a 404 message in the new tab but the url will read "http://www.google.ca/?user=USERNAME&password=PASSWORD", where USERNAME is the username you entered and PASSWORD is the password you entered.
NOTE: depending on security settings, the security bar may block the new window event. If this happens, you will see the yellow security bar with a button "options". Click this and select to allow popups and reload the page.
Using the testcase I just created, I have tested this on both the latest Minefield nightly and Firefox 2.0.0.4 with no problems. If you are still having this problem, please upgrade to 2.0.0.4 and try again. If you are still having problems after that, please comment on this bug. If you do not reply back in a week, this bug will be closed as WFM. At which point, you will have to open a new bug if you are having further issues.
Closing as works for me. This Bug and the testcase works for me with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/20070626 Minefield/3.0a6pre ID:2007062604. See also comment #7. Because this testcase is worksforme and ashughes i close this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: