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">




13 years ago
13 years ago


(Reporter: Steve, Assigned: Blake Ross)


Firefox Tracking Flags

(Not tracked)





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:

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.
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME

Comment 2

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

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

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.