Closed Bug 472847 Opened 17 years ago Closed 17 years ago

empty src tag results in multiple get requests

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 444931

People

(Reporter: phpfreaked9, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 When using a img tag with a empty src attribute, it results in mozilla doing multiple get requests. For example <img src=""> Reproducible: Always Steps to Reproduce: 1. Add a img tag on a webpage with a empty src attribute. 2. Write some log function, to log the webrequests into a file. 3. open the webpage once 4. check your log, there are now 2 requests instead of one. Actual Results: 2 HTTP GET requests. Expected Results: 1 HTTP GET request. If a src tag is empty, it should not be processed. I haven't tested if this src attribute applies to other html elements, but if they are coded conform OOP standards it's likely the bug also occurs with other html elements e.g. script, iframe etc.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.