Closed
Bug 215598
Opened 22 years ago
Closed 22 years ago
image submit buttons cause two http hits
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: parkflys, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030731
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030731
if i have a form with the submit button as an image, the page is hit twice. It
does not require you to click the button, but just loading a page with a form
thats submit button is an image type. I get twp hits in my server logs when the
page loads. I tried firebird, and that was ok, but that was a bit older, and IE
is ok too, so its not my page/code.
Reproducible: Always
Steps to Reproduce:
1.create form with image submit button
2.load page
3.
Expected Results:
only cause 1 hit in the logs
Reporter | ||
Updated•22 years ago
|
Summary: image submit buttons cause to http hits → image submit buttons cause two http hits
![]() |
||
Comment 1•22 years ago
|
||
This looks like bug 209242.... is this a problem with a current build?
Reporter | ||
Comment 2•22 years ago
|
||
no, it has nothing to do with history, if you hit the page for the first time,
with an img submit button, it will generate 2 hits in the logs, and simply
removing the img button, it will generate only 1. It is also not an issue of
javascript actions, there is no js associated with the form/button.
![]() |
||
Comment 3•22 years ago
|
||
If you read bug 209242, you will see that the history issue is totally
irrelevant to the actual bug there. In particular, see bug 209242 comment 18.
So again, is this still a problem in a current build? If so, could you attach
an HTML file that reproduces the problem to this bug report?
Reporter | ||
Comment 4•22 years ago
|
||
I'm sorry, I didnt see that, yes that does seem to be very similar to my
problem, though, the image is not non-existant, it sucessfully loads the image,
but still makes an extra hit on the page. This build is from july 31, about a
week and a half ago.
![]() |
||
Comment 5•22 years ago
|
||
Yes, I realize when your build is from. ;) Could you test one from sometime
today or yesterday?
![]() |
||
Comment 6•22 years ago
|
||
I just tried the following document, by the way:
<html>
<body>
<input src="test.gif" type="image">
</body>
</html>
and I see exactly two HTTP requests -- one for the page, one for the gif, when I
load this in a 2003-07-27-05 nightly or in a debug build from this morning.
I get the same result when I switch the order of the two attributes.
So I would much appreciate your uploading a testcase that shows the problem....
Reporter | ||
Comment 7•22 years ago
|
||
I will test it all on a new build when i'm back at work monday, where the
problem was observed (intranet)
Reporter | ||
Comment 8•22 years ago
|
||
rebuilt this morning with an Aug. 9th snap. Everything looks normal now. Only
getting one hit as expected.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•