Closed Bug 1139022 Opened 9 years ago Closed 9 years ago

Access keys for EME notification bars are broken because of case difference

Categories

(Firefox :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal
Points:
1

Tracking

()

VERIFIED FIXED
Firefox 39
Iteration:
39.1 - 9 Mar
Tracking Status
firefox37 --- fixed
firefox38 --- verified
firefox39 --- verified

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(1 file)

Some days, I hate camel-casing and the fact that we have a legacy codebase.

This is one of these days, because apparently, notification.xml really wants you to capitalize the K in 'accesskey', and otherwise it just uses "undefined" instead, meaning "U" because that's how clever our widget code is on Windows. :-\

(I blame testing on OS X for not noticing this early enough)

Any reason not to just make notification.xml also check for button.accesskey rather than just the capitalized variant? Dolske?
Flags: qe-verify+
Flags: needinfo?(dolske)
Flags: in-testsuite-
Flags: firefox-backlog+
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Hi Gijs, can you provide a point value.
Iteration: --- → 39.1 - 9 Mar
Flags: needinfo?(gijskruitbosch+bugs)
Points: --- → 1
Flags: needinfo?(gijskruitbosch+bugs)
Comment on attachment 8572064 [details] [diff] [review]
fix camelcase issue with access key in EME notification bars,

Review of attachment 8572064 [details] [diff] [review]:
-----------------------------------------------------------------

Yeah this looks fine to me. It's been accessKey in notification.xml since hg@1. I don't see an issue with loosening it (`button.accesskey || button.accessKey`) besides that in the future the callers get pretty loose with what they pass in.
Attachment #8572064 - Flags: review?(jaws) → review+
remote:   https://hg.mozilla.org/integration/fx-team/rev/6483a9a692b4
Flags: needinfo?(dolske)
Comment on attachment 8572064 [details] [diff] [review]
fix camelcase issue with access key in EME notification bars,

Approval Request Comment
[Feature/regressing bug #]: bug 1131758
[User impact if declined]: wrong access keys
[Describe test coverage new/current, TreeHerder]: no
[Risks and why]: almost nonexistent, simple case correctness fix on a property name
[String/UUID change made/needed]: no
Attachment #8572064 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/6483a9a692b4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
I rolled this into my patches in bug 1136165, so it's fixed on 37 already - just need some aurora uplift love. :-)
QA Contact: bogdan.maris
Attachment #8572064 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified as fixed on Windows 7 x64 & Windows 8.1 x64 with latest Nightly 39.0a1 (20150317073344) and latest Aurora 38.0a2 (20150318004012)
Status: RESOLVED → VERIFIED
No additional manual QA needed here for Firefox 37.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: