mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
944a1927bb
Because of conforming to UI Events KeyboardEvent key Values, when some modifier keys cause not inputting character, the KeyboardEvent.key value should be computed with removing all modifier state except glyph modifier keys. When Control key is pressed, Cocoa fires odd key events typically. For example, characters isn't computed with same logic of UI Events KeyboardEvent key Values especially when Option key is pressed (see adding testcases for the detail). Therefore, this patch makes TISInputSourceWrapper::InitKeyEvent() ignore both characters and charactersIgnoringModifiers at computing KeyboardEvent.key value when Control key is pressed and InsertText() isn't called. On the other hand, this patch does NOT touch the path to compute KeyboardEvent.key when Command key is pressed. It should be changed in different bug because Command key behavior isn't so simple. MozReview-Commit-ID: dMHgUEOnQw --HG-- extra : rebase_source : 7a67c98d2bf6ca38c7e6ae9dcbad01020d9cea31 |
||
---|---|---|
.. | ||
unit | ||
bug586713_window.xul | ||
chrome_context_menus_win.xul | ||
chrome.ini | ||
empty_window.xul | ||
mochitest.ini | ||
moz.build | ||
native_menus_window.xul | ||
native_mouse_mac_window.xul | ||
standalone_native_menu_window.xul | ||
taskbar_previews.xul | ||
test_assign_event_data.html | ||
test_bug343416.xul | ||
test_bug413277.html | ||
test_bug428405.xul | ||
test_bug429954.xul | ||
test_bug444800.xul | ||
test_bug466599.xul | ||
test_bug478536.xul | ||
test_bug485118.xul | ||
test_bug517396.xul | ||
test_bug522217.xul | ||
test_bug538242.xul | ||
test_bug565392.html | ||
test_bug586713.xul | ||
test_bug593307.xul | ||
test_bug596600.xul | ||
test_bug673301.xul | ||
test_bug760802.xul | ||
test_bug1123480.xul | ||
test_bug1151186.html | ||
test_chrome_context_menus_win.xul | ||
test_clipboard.xul | ||
test_composition_text_querycontent.xul | ||
test_imestate.html | ||
test_input_events_on_deactive_window.xul | ||
test_key_event_counts.xul | ||
test_keycodes.xul | ||
test_mouse_scroll.xul | ||
test_native_key_bindings_mac.html | ||
test_native_menus.xul | ||
test_native_mouse_mac.xul | ||
test_panel_mouse_coords.xul | ||
test_picker_no_crash.html | ||
test_platform_colors.xul | ||
test_plugin_input_event.html | ||
test_plugin_scroll_consistency.html | ||
test_position_on_resize.xul | ||
test_secure_input.html | ||
test_sizemode_events.xul | ||
test_standalone_native_menu.xul | ||
test_system_status_bar.xul | ||
test_taskbar_progress.xul | ||
test_wheeltransaction.xul | ||
TestAppShellSteadyState.cpp | ||
TestChromeMargin.cpp | ||
utils.js | ||
window_bug429954.xul | ||
window_bug478536.xul | ||
window_bug522217.xul | ||
window_bug538242.xul | ||
window_bug593307_centerscreen.xul | ||
window_bug593307_offscreen.xul | ||
window_composition_text_querycontent.xul | ||
window_imestate_iframes.html | ||
window_mouse_scroll_win.html | ||
window_picker_no_crash_child.html | ||
window_state_windows.xul | ||
window_wheeltransaction.xul |