Closed Bug 323047 Opened 19 years ago Closed 16 years ago

site with "oncontextmenu='event.cancelBubble=true'" blocks context menu even though it's deactivated in the extended javascript options

Categories

(Firefox :: Menus, defect)

1.5.0.x Branch
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 486990

People

(Reporter: super_egi, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

539 bytes, text/html
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051209 Firefox/1.5 (pigfoot) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051209 Firefox/1.5 (pigfoot) Though in Options - Contents - Javascript extended - "Deactivate or replace the context menu" is not checked, I came across a few sites that can avoid the context menu. If you have many extensions that add context menu entries, the context menu can get very important. One way to do this is to add oncontextmenu='event.cancelBubble=true' in the body. I have no idea how the other sites did it. Reproducible: Always Steps to Reproduce: 1. Visit example site http://home.arcor.de/deckman/context.htm (with Javascript enabled) 2. Right click anywhere on the page Actual Results: Nothing happens. Expected Results: The context menu pops up. Not even the extension "Allow Right Click" helps.
Related to Core bug 296786?
Depends on: 296786
Keywords: testcase
Confirming on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060120 Firefox/1.6a1 Editing Summary to add oncontextmenu='event.cancelBubble=true' Please also see bug 326543
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: site blocks context menu even though it's deactivated in the extended javascript options → site with "oncontextmenu='event.cancelBubble=true'" blocks context menu even though it's deactivated in the extended javascript options
Bug confirmed on my three firefoxes: 1. Ubuntu Linux 32 bit, 32bit Firefox-3.0.7 2. Gentoo Linux 64 bit, 64bit Firefox-3.5_rc1 3. Gentoo Linux 64 bit, 32bit Firefox-3.5 beta 4 Bug does not occur on my fourth firefox: a) Windows XP SP2 32 bit (Virtual Machine), Firefox 32 bit Please see this bug also as it seems to be related: https://bugzilla.mozilla.org/show_bug.cgi?id=312714
Attached file testcase
This issue has been fixed by the patch on bug 486990. Marking as duplicate.
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
Version: unspecified → 1.5.0.x Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: