Closed Bug 1297170 Opened 9 years ago Closed 9 years ago

Several text-links in about:preferences improperly responds to secondary mouse button click.

Categories

(Firefox :: Settings UI, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1120967
Tracking Status
firefox51 --- affected

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

Steps to Reproduce: 1. open about:preferences 2. open Privacy pane 3. secondary mouse button click "manage your Do Not Track settings" link Actual result: "Do Not Track" dialog is shown. Expected result: Either nothing happens or context menu is shown. Same thing happens in the following places: Privacy pane - "manage your Do Not Track settings" link Privacy pane - "clear your recent history" link Privacy pane - "remove individual cookies" link Privacy pane - "clear all current history" link Sync pane - "Terms of Service" link Sync pane - "Privacy Notice" link
looks like there are a lot more cases in about:preferences that doesn't check event.button in onclick :/
Assignee: nobody → arai.unmht
In all cases, it should ignore click with not-primary button. [applications.js] gApplicationsPane.sort called from type/action column headers [content.js] gContentPane.openTranslationProviderAttribution called from translation attribution icon on localized build [main.js] gMainPane.onGetStarted called from "Start using Sync..." text-link on Aurora [privacy.js] historyRememberClear called from "clear your recent history" text-link historyRememberCookies called from "remove individual cookies" text-link historyDontRememberClear called from "clear all current history" text-link doNotTrackSettings called from "manage your Do Not Track settings" text-link [sync.js] noAccountSetup called from "Set Up Firefox Sync" text-link noAccountPair syncAddDeviceLabel called from "Pair a Device" text-links unlinkDevice called from "Unlink This Device" text-link loginErrorUpdatePass called from "Update" text-link loginErrorResetPass called from "Reset" text-link loginErrorStartOver called from "Unlink This Device" text-link gSyncPane.openPrivacyPolicy called from "Privacy Policy" text-links gSyncPane.openToS called from "Terms of Service" text-links
Attachment #8783671 - Flags: review?(jaws)
Hi Tooru, thanks for the patch. This work is actually already being worked on in https://bugzilla.mozilla.org/show_bug.cgi?id=1120967 where the goal there is treat those non-primary clicks as they way that normal right-clicking or middle-clicking on a link would do.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
I see, thanks :)
See Also: → 1301813
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: