зеркало из https://github.com/mozilla/gecko-dev.git
d457e48592
IMEContentObserver notifies IME of 3 notifications at most when editor is changed. The order is: 1. text change (with merged range if 2 or more change occurred during an edit transaction) 2. selection change (only the latest selection change. other changes occurred before that during an editor transaction are ignored) 3. position change (scrolled, resized, window moved, etc) This does not check the behavior in designMode because some operation in testWithHTMLEditor() causes unexpected behavior, e.g., moving focus. It *might* be bug of design mode. However, it doesn't matter for this bug. The important thing of this bug is, there should be automated tests for IMEContentObserver. And fortunately, IMEContentObserver does not check the type of editor. So, it's enough to test only contenteditable element for HTMLEditor at least for now. Therefore, I gave up to test it in designMode for now. MozReview-Commit-ID: 7L6ZlbVMU2P --HG-- extra : rebase_source : 8282fe7aa2f4d405f2576f05d46b60b044223855 |
||
---|---|---|
.. | ||
unit | ||
TestAppShellSteadyState.cpp | ||
TestChromeMargin.cpp | ||
bug586713_window.xul | ||
chrome.ini | ||
chrome_context_menus_win.xul | ||
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 | ||
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 |