author Masayuki Nakano <>
Thu, 31 May 2018 18:36:33 +0900
changeset 478700 44cb540ef2fc4589c2941ab13dc6ea6b6da59474
parent 466627 787dce710dce6dff0d9f9e7621c9dac676843678
child 517225 847aa80e92e872bbbfb986c0fd0645efff5b3ae4
permissions -rw-r--r--
Bug 900750 - part 5: Make NativeKey set KeyboardEvent.key value of AltRight key to "AltGraph" when active keyboard layout has AltGr key r=m_kato,smaug When AltGr key is pressed, following messages come: 1. WM_KEYDOWN for ControlLeft 2. WM_KEYDOWN for AltLeft 3. WM_SYSKEYUP for ControlLeft 4. WM_KEYUP for AltLeft In these key sequence, KeyboardEvent.key value of keydown event at #2 and keyup event at #4 should be "AltGraph". This patch fixes the key value and adding new test into test_keycodes.xul to check the behavior with SynthesizeNativeKey(). MozReview-Commit-ID: JZ6WednB8la