Closed Bug 169522 Opened 22 years ago Closed 18 years ago

Right click on an image map generates javascript error

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: neil, Assigned: samir_bugzilla)

Details

(Keywords: testcase)

Attachments

(1 file)

In build 2002091208 if I right click on an image map (Using an <img> not an
<object> tag), where there is no <area> defined I get errors in the javascript
console.

Error: setting a property that has only a getter
Source File: chrome://communicator/content/nsContextMenu.js
Line: 227

Error: gContextMenu has no properties
Source File: chrome://messenger/content/mailNavigatorOverlay.xul
Line: 97

Error: gContextMenu has no properties
Source File: chrome://editor/content/editorApplicationOverlay.js
Line: 42



Here is the html:

<img src="http://mozilla.org/images/mozilla-banner.gif" id="image2"
usemap="#map3" alt="">
<map name="map3" id="map3">
   <area href="/" shape="rect" coords="1,1,110,50" alt="">
</map>
Keywords: testcase
WFM WinXP 2002122608, are you still seeing this?
Yup 1.3a but the first error has now moved to line 247
Still happening in 1.7b
Product: Core → Mozilla Application Suite
I see no errors in the Error Console with build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060906 SeaMonkey/1.1b. Please comment if you can still reproduce the problem in Gecko 1.8.1 or Gecko 1.9 builds (SeaMonkey 1.1 or 1.5 or Firefox 2 or 3).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: