facebook/react — pull request #2268 by syranide (2014-09-28 21:11:54+00:00)
Title: Discard incorrect `KeyboardEvent.key` for `keydown` and `keyup` in IE

TL;DR-comment has in-depth explanation. Summary; all IE report `AltGr+1` as `'1'`, `~a` as `'a'` (`~` is a deadkey), etc in `keydown` and `keyup`, rather than the actual produced character. This normalizes that behavior to report `Unidentified` instead which is far preferable.

While it's quite technical, I think the logic is fairly self-explanatory and should be inherently safe (especially as none of the other browser I have access to even support `char`).

Test plan: manually in the browser