Closed Bug 296404 Opened 20 years ago Closed 20 years ago

Clicking on image map area with href takes 10-90 seconds to respond

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dshadel, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Once every three or four or five clicks on an image map Firefox will use 100% of the processing time and hang for 10-90 seconds (30-50 seconds most common). We have tried this on multiple Windows boxes, using Firefox 1.0.2 and 1.0.4 with the same result. We have tried on Mac and Linux versions of Firefox and it works. Reproducible: Sometimes Steps to Reproduce: 1. Use html provided 2. Fix image tag to point to valid image (works if image is broken) 3. The image map has five areas, click on each area Actual Results: Sometimes after clicking on the first area, but almost always after clicking on the thrid or fourth area, there will be a 30-50 second delay before the alert box is shown. Firefox is taking 100% of the processor time. Expected Results: I expect the alert box to popup immediately when each area is clicked. The html is below. KEY: you must have an image, any image (we used both png and jpeg); if the image is broken then it works. The href must have something in it. We found the same problem with javascript (both the alert in the example and void(0)) and with href="#" (you need to move the cursor off the area, the mouse pointer remains a hand for several seconds then changes to a pointer). This is a critical problem for us. If you need help duplicating the problem please let me know. Thanks, Derrick Shadel dshadel@corda.com HTML: <html> <body> <img border="0" usemap="#abc" src="drilldown.jpg" /> <map name="abc"> <area shape="poly" coords="238,205,273,205,273,236,238,236,238,205," href="javascript:alert('hello')"/> <area shape="poly" coords="192,232,227,232,227,236,192,236,192,232," href="javascript:alert('hello')"/> <area shape="poly" coords="147,100,181,100,181,236,147,236,147,100," href="javascript:alert('hello')"/> <area shape="poly" coords="101,66,136,66,136,236,101,236,101,66," href="javascript:alert('hello')"/> <area shape="poly" coords="55,183,90,183,90,236,55,236,55,183," href="javascript:alert('hello')"/> </map> </body> </html>
Please attach a testcase that shows the behaviour that you see. You can use the "create new attachment" link just above the 'Additional Comments' text area to do this. If you attach your picture first, then get its link wrt bugzilla, and use that in the html for your code, that would work great. Thanks!
Attached file testcase
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+ ID:2005060215 WFM
This is reproducible with the testcase and Mozilla 1.8b1, but it seems WFM with Mozilla 1.8b2/20050602.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+ ID:2005060214 WFM Marking WFM as per comment 3. This is fixed in Firefox 1.1
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: