If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

unable to POST (submit) form when only form submit object is a <input type="image">

RESOLVED WORKSFORME

Status

()

Firefox
General
--
major
RESOLVED WORKSFORME
13 years ago
13 years ago

People

(Reporter: Steve, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

I cannot login to several major sites, including FreshDirect and Amazon with my
build of Firefox.  I've tried using the scriptlet
"javascript:document.forms[0].submit();" [assuming 0 is the correct index];
however that returns the following error in the JS console:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLFormElement.submit]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
javascript:document.forms[0].submit(); :: <TOP_LEVEL> :: line 1"  data: no]

I can reproduce this behavior at the following two URIs:
https://www.amazon.com/gp/css/history/view.html/002-6390165-2399245?orderFilter=days-30&link=track
https://www.freshdirect.com/login/login_main.jsp




Reproducible: Always
Steps to Reproduce:
1.  Navigate to a web page containing a form with three form input elements: a
text type for the username, a password type for the password, and an image type
for the submit button.
2.  Enter the username and password fields with valid data.
3.  Click the submit image button.

Actual Results:  
Nothing happens.

Expected Results:  
The form should be POST'd to the specified form action URI.

Perhaps the fact that SSL is used is interesting here? 

I also only allow session cookies, and block all pop-ups.

Comment 1

13 years ago
Please dont file bugs with build older than 2 weeks, bugzilla cleary states
this. 0.9.2 is out-dated.

Going to marks this one as WORKSFORME, please reopen only if you can reproduce
this with at least Firefox 1.0 Preview Release or nightly branch build AND a
fresh profile.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME

Comment 2

13 years ago
Also, be sure y ou uninstall 0.9 before installing new version. 
(Reporter)

Comment 3

13 years ago
You are correct, upgrading fixes this.

This bug is fixed with user agent string:
Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
(Reporter)

Comment 4

13 years ago
BTW -- thanks for making the best browser on the market!  Everyday I see more
and more people appreciating your hard work!
You need to log in before you can comment on or make changes to this bug.