Right click on an image map generates javascript error

RESOLVED WORKSFORME

Status

SeaMonkey
UI Design
RESOLVED WORKSFORME
15 years ago
11 years ago

People

(Reporter: Neil Marshall, Assigned: Samir Gehani)

Tracking

({testcase})

Trunk
x86
Windows 2000
testcase

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
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>

Comment 1

15 years ago
Created attachment 105797 [details]
Testcase described in report

Updated

15 years ago
Keywords: testcase

Comment 2

15 years ago
WFM WinXP 2002122608, are you still seeing this?
(Reporter)

Comment 3

15 years ago
Yup 1.3a but the first error has now moved to line 247
(Reporter)

Comment 4

14 years ago
Still happening in 1.7b
Product: Core → Mozilla Application Suite

Comment 5

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.