Closed Bug 520398 Opened 16 years ago Closed 16 years ago

Cmd+clicking back button no longer opens in new tab

Categories

(Firefox :: Toolbars and Customization, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- beta2-fixed

People

(Reporter: jruderman, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(1 file, 3 obsolete files)

Steps to reproduce: 1. Hold Cmd 2. Click the back button Result: goes back in the same tab Expected: open previous page in a new tab I noticed this while browsing with self-built rev 52a0e3de5593+ (a few hours old) on Mac.
Flags: blocking-firefox3.6?
Blocks: 518533
Attached patch fix (obsolete) — Splinter Review
This is because we lose event.ctrlKey & Co. when calling doCommand...
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #404494 - Flags: review?(vladimir)
Can anyone other than Vlad review this? He's on holiday this week ...
Flags: blocking-firefox3.6? → blocking-firefox3.6+
Priority: -- → P2
Attachment #404494 - Flags: review?(vladimir) → review?(mano)
Comment on attachment 404494 [details] [diff] [review] fix This won't work for handlers added via addEventListener.
Attachment #404494 - Flags: review?(mano) → review-
Attached patch fix (obsolete) — Splinter Review
> This won't work for handlers added via addEventListener. That's already an accepted shortcoming in checkForMiddleClick where I copied this code from. Added a comment to that effect.
Attachment #404494 - Attachment is obsolete: true
Attachment #406211 - Flags: review?(mano)
Attached patch fix (obsolete) — Splinter Review
Actually, bug 461578 makes more sense than bug 246720... adjusted the comment.
Attachment #406211 - Attachment is obsolete: true
Attachment #406214 - Flags: review?(mano)
Attachment #406211 - Flags: review?(mano)
Comment on attachment 406214 [details] [diff] [review] fix document.createEvent("xulcommandevent"...) should be used in both places.
Attachment #406214 - Flags: review?(mano) → review-
Attached patch v2Splinter Review
Attachment #406214 - Attachment is obsolete: true
Attachment #406430 - Flags: review?(mano)
Comment on attachment 406430 [details] [diff] [review] v2 Please fix both places if possible. r=mano either way.
Attachment #406430 - Flags: review?(mano) → review+
I'm not going to touch checkForMiddleClick, as I can't initiate a command event with the appropriate button property.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: