Closed
Bug 280653
Opened 20 years ago
Closed 20 years ago
When onContextMenu returns false, context menu shouldn't appear
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: timwi, Assigned: bugzilla)
Details
Attachments
(1 file)
|
218 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0 StumbleUpon/1.999 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0 StumbleUpon/1.999 When the JavaScript code inside an onContextMenu attribute returns false, a context menu shouldn't appear. See the following attachment for an example. Reproducible: Always Steps to Reproduce: Actual Results: Context menu appaers. Expected Results: Context menu should not appear.
Test case. Right-clicking the text should not produce a context menu.
Comment 2•20 years ago
|
||
Works For Me. Of course I have to be stupid enough to let javascript disable context menu (options -> web features -> javascript -> advanced) but if I actually allow JS to do that, the testcase will not produce a context menu. Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Oh. Oops. :-) My apologies.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•