Closed Bug 1152104 Opened 9 years ago Closed 9 years ago

'Learn more about DRM' context menu only working on click, not on enter or when accesskey pressed

Categories

(Firefox :: Menus, defect)

defect
Not set
normal
Points:
1

Tracking

()

RESOLVED FIXED
Firefox 40
Iteration:
40.1 - 13 Apr
Tracking Status
firefox38 + fixed
firefox39 --- fixed
firefox40 --- fixed

People

(Reporter: aryx, Assigned: Gijs)

References

Details

Attachments

(1 file)

Firefox Nightly 20150407 and Beta 20150406174117

The 'Learn more about DRM' context menu only works when clicked, not when the user presses Enter or when the accesskey gets pressed (the context menu only closes for these)

browser-context.inc contains more elements with onclick handlers but these seem to work for enter and accesskey presses (e.g. 'View Image').
I don't really understand why this would be any different than the other onclick items which, as you noted, do work... however, time-constraint-wise maybe the best thing to do is to "just" add an extra oncommand listener and be done with (assuming that fixes things...).
Actually, looks to me like the other items with onclick handlers have oncommand or command attributes as well, so we should probably do the same.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #8589670 - Flags: review?(jaws)
Iteration: --- → 40.1 - 13 Apr
Points: --- → 1
Flags: qe-verify-
Flags: in-testsuite-
Flags: firefox-backlog+
OS: Windows 8.1 → All
Hardware: x86 → All
Attachment #8589670 - Flags: review?(jaws) → review+
This feature is going to get some exposition. Tracking to make sure it is fixed before the release.
Comment on attachment 8589670 [details] [diff] [review]
use command event and delegate clicks to it,

Approval Request Comment
[Feature/regressing bug #]: bug 1111147
[User impact if declined]: can't use keyboard to interact with the 'Learn More about DRM' item
[Describe test coverage new/current, TreeHerder]: nope :-(
[Risks and why]:  very low, simple attribute change to bring the item in line with existing menuitems
[String/UUID change made/needed]: nope
Attachment #8589670 - Flags: approval-mozilla-beta?
Attachment #8589670 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/f610b8d267ed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Comment on attachment 8589670 [details] [diff] [review]
use command event and delegate clicks to it,

Should be in 38 beta 4
Attachment #8589670 - Flags: approval-mozilla-beta?
Attachment #8589670 - Flags: approval-mozilla-beta+
Attachment #8589670 - Flags: approval-mozilla-aurora?
Attachment #8589670 - Flags: approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: