Closed
Bug 407658
Opened 17 years ago
Closed 15 years ago
If the user did not allow that the context menu can be disabled, it should not be possible to disable it.
Categories
(Firefox :: Menus, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 486990
People
(Reporter: wolfpil, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Reproducible: Always Steps to Reproduce: 1. Make sure that Javascript es enabled and in the advanced tab of Javascript 'Disable or replace context menu' is *not* checked. As far as I see this should mean that - although Javascript is enabled - it is not allowed to disable or replace Firefox's own context menu. 2. Now go to http://maps.google.com/ or any other Google map page built with the Maps API Version 2.94 or later. Right click on the map. Actual Results: The context menu of Firefox has been disabled. Instead of Firefox's own context menu there will appear a new Javascript context menu or no context menu at all Expected Results: Firefox's own context menu should appear - nothing else instead.
Comment 1•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007121000 Minefield/3.0b2pre WFM (I see them both), but on some sites I see first a message of the website (that is is forbidden to copy or such) and after dismissing it I still see my own context menu.
Reporter | ||
Comment 2•16 years ago
|
||
Such an old unsolved bug - still unconfirmed?
Reporter | ||
Comment 3•15 years ago
|
||
Here we go again with this still existing but always remaining unconfirmed bug: 1. Make sure that you change your preferences so that scripts are *not* allowed to disable or replace context menus. 2. Call this page and right click somewhere on the page to display the context menu. http://yura.thinkweb2.com/scripting/contextMenu/ 3. What do you see? I'm using Firefox 3.5rc2 and I see - in every case, i.e. also when scripts are *not* allowed to disable or replace the context menu - the scripts own context menu. The browsers own context menu does *not* appear.
Comment 4•15 years ago
|
||
Confirming bug with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) ID:20090624025744 Neil, why we don't obey the set pref in this testcase?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Version: unspecified → 2.0 Branch
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Comment 6•15 years ago
|
||
Hmmm, wait. I still this is a current build. Let me look into it.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 7•15 years ago
|
||
Bah. I didn't have the preference set. This is fixed on trunk by bug 486990.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → DUPLICATE
Comment 8•15 years ago
|
||
Neil, so it is intended to have the context menu from the web page shown under the chrome context menu?
Comment 9•15 years ago
|
||
(In reply to comment #8) > Neil, so it is intended to have the context menu from the web page shown under > the chrome context menu? Web pages cannot display context menus. What you're seeing is just some box the page displays in response to a mouse event. We aren't going to block mouse events entirely naturally.
You need to log in
before you can comment on or make changes to this bug.
Description
•