Closed Bug 1117654 Opened 9 years ago Closed 5 years ago

Compare KeyboardEvent.key with constant instead of literal value

Categories

(Firefox OS Graveyard :: Gaia::System::Input Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dwi2, Unassigned)

References

Details

(Whiteboard: [ft:conndevices])

This is a follow up of bug 1116762 ,
see https://bugzilla.mozilla.org/show_bug.cgi?id=1116762#c33

After we land Gecko patch for bug 1116762, Gaia must also change its comparison in https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/browser_key_event_manager.js
We should compare |KeyboardEvent.key| with constants provided by Gecko, instead of comparing it with literal values directly.
Assignee: nobody → tzhuang
Status: NEW → ASSIGNED
The reason is that the literal value of |KeyboardEvent.key| is not standard yet. It could changes from time to time.
See Also: → 1119673
Assignee: tzhuang → nobody
Status: ASSIGNED → NEW
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.