gecko-dev/widget/tests
Masayuki Nakano d457e48592 Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato
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
2017-04-19 21:57:58 +09:00
..
unit Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
bug586713_window.xul Bug 1207499 - Part 12: Remove use of expression closure from widget/. r=roc 2015-09-23 18:42:20 +09:00
chrome_context_menus_win.xul
chrome.ini Backed out changeset 27f8d8e9c4dc (bug 1149966) for frequent timeouts in test_form_submission.html 2017-01-09 18:42:17 -08:00
empty_window.xul
mochitest.ini Bug 1285414 - Intermittent widget/tests/test_assign_event_data.html. disable for android debug. r=gbrown 2017-03-03 09:18:58 -07:00
moz.build Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
native_menus_window.xul Bug 1043421 - Make native Mac menus observe mutations from the observed elements directly. r=smichaud 2014-09-09 17:14:46 +02:00
native_mouse_mac_window.xul
standalone_native_menu_window.xul Bug 1043421 - Make native Mac menus observe mutations from the observed elements directly. r=smichaud 2014-09-09 17:14:46 +02:00
taskbar_previews.xul
test_assign_event_data.html Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
test_bug343416.xul
test_bug413277.html
test_bug428405.xul Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki 2015-04-14 11:36:36 -04:00
test_bug429954.xul
test_bug444800.xul
test_bug466599.xul Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm 2017-01-24 14:24:04 +00:00
test_bug478536.xul
test_bug485118.xul
test_bug517396.xul
test_bug522217.xul
test_bug538242.xul
test_bug565392.html Backed out changeset 27f8d8e9c4dc (bug 1149966) for frequent timeouts in test_form_submission.html 2017-01-09 18:42:17 -08:00
test_bug586713.xul
test_bug593307.xul
test_bug596600.xul Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst 2014-08-12 14:30:59 +02:00
test_bug673301.xul Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8 2017-04-12 11:10:00 +01:00
test_bug760802.xul Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm 2017-01-24 14:24:04 +00:00
test_bug1123480.xul Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm 2017-01-24 14:24:04 +00:00
test_bug1151186.html Bug 1151186 part.1 Don't reset IME enabled state after focus is changed by JS during setting focus r=enndeakin 2015-04-08 11:50:12 +09:00
test_chrome_context_menus_win.xul
test_clipboard.xul Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
test_composition_text_querycontent.xul Bug 1218032 part.3 IMEContentObserver should notify IME of anything without script runner r=smaug 2015-11-10 11:49:05 +09:00
test_imestate.html Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
test_input_events_on_deactive_window.xul Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher 2016-08-25 16:57:09 +03:00
test_key_event_counts.xul Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki 2015-04-14 11:36:36 -04:00
test_keycodes.xul Bug 1347835 NativeKey should dispatch keypress events even if WM_KEYDOWN is processed by IME but followed by printable WM_(SYS)CHAR messages r=m_kato 2017-04-10 15:32:02 +09:00
test_mouse_scroll.xul
test_native_key_bindings_mac.html Bug 1337392 - Update test cases to match new cursor behavior. r=smaug 2017-03-08 16:41:42 +01:00
test_native_menus.xul
test_native_mouse_mac.xul
test_panel_mouse_coords.xul Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
test_picker_no_crash.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_platform_colors.xul Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
test_plugin_input_event.html Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki 2015-04-14 11:36:36 -04:00
test_plugin_scroll_consistency.html
test_position_on_resize.xul
test_secure_input.html Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher 2016-08-25 16:57:09 +03:00
test_sizemode_events.xul
test_standalone_native_menu.xul
test_system_status_bar.xul Bug 1041571 - Add some basic leak testing for nsSystemStatusBarCocoa. r=smichaud 2014-08-07 13:23:08 +02:00
test_taskbar_progress.xul Bug 605813 - Re-enable test_taskbar_progress.xul on Windows. r=me 2015-10-15 18:39:28 -03:00
test_wheeltransaction.xul
TestAppShellSteadyState.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
TestChromeMargin.cpp
utils.js
window_bug429954.xul
window_bug478536.xul Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
window_bug522217.xul
window_bug538242.xul
window_bug593307_centerscreen.xul
window_bug593307_offscreen.xul
window_composition_text_querycontent.xul Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato 2017-04-19 21:57:58 +09:00
window_imestate_iframes.html
window_mouse_scroll_win.html Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher 2016-08-25 16:57:09 +03:00
window_picker_no_crash_child.html
window_state_windows.xul
window_wheeltransaction.xul Bug 1209970 - Fire scroll events early in the refresh tick. r=mats 2015-12-17 17:19:30 -05:00