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)
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)
|
1015 bytes,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
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?
| Assignee | ||
Comment 1•16 years ago
|
||
This is because we lose event.ctrlKey & Co. when calling doCommand...
Comment 2•16 years ago
|
||
Can anyone other than Vlad review this? He's on holiday this week ...
Flags: blocking-firefox3.6? → blocking-firefox3.6+
Priority: -- → P2
| Assignee | ||
Updated•16 years ago
|
Attachment #404494 -
Flags: review?(vladimir) → review?(mano)
Comment 3•16 years ago
|
||
Comment on attachment 404494 [details] [diff] [review]
fix
This won't work for handlers added via addEventListener.
Attachment #404494 -
Flags: review?(mano) → review-
| Assignee | ||
Comment 4•16 years ago
|
||
> 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)
| Assignee | ||
Comment 5•16 years ago
|
||
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 6•16 years ago
|
||
Comment on attachment 406214 [details] [diff] [review]
fix
document.createEvent("xulcommandevent"...) should be used in both places.
Attachment #406214 -
Flags: review?(mano) → review-
| Assignee | ||
Comment 7•16 years ago
|
||
Attachment #406214 -
Attachment is obsolete: true
Attachment #406430 -
Flags: review?(mano)
Comment 8•16 years ago
|
||
Comment on attachment 406430 [details] [diff] [review]
v2
Please fix both places if possible.
r=mano either way.
Attachment #406430 -
Flags: review?(mano) → review+
| Assignee | ||
Comment 9•16 years ago
|
||
I'm not going to touch checkForMiddleClick, as I can't initiate a command event with the appropriate button property.
| Assignee | ||
Comment 10•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
| Assignee | ||
Comment 11•16 years ago
|
||
status1.9.2:
--- → final-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•