gecko-dev/widget/tests
Masayuki Nakano 60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent.  Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition.

This patch implements it simply and only in non-e10s mode.

Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect).

MozReview-Commit-ID: 34I7vyTUAgO

--HG--
extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe
2016-06-16 14:10:49 +09:00
..
unit Bug 1167627 - Part 5: Use mozinfo in widget/. 2015-08-25 14:54:00 +02:00
TestAppShellSteadyState.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
TestChromeMargin.cpp
TestWinTSF.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04: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.ini Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge 2016-05-25 15:28:24 -04:00
chrome_context_menus_win.xul
empty_window.xul
mochitest.ini Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge 2016-05-25 15:28:24 -04:00
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
native_menus_window.xul
native_mouse_mac_window.xul
standalone_native_menu_window.xul
taskbar_previews.xul
test_assign_event_data.html Bug 1253479 - [e10s] Make widget/tests/test_assign_event_data.html work under e10s. r=masayuki 2016-03-10 16:56:13 -08: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
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 Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug. 2016-03-04 17:54:10 +01:00
test_bug760802.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_bug1123480.xul
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 Bug 1254629 - Let query events fail when content root is wrong; r=masayuki 2016-03-16 14:20:30 -04:00
test_input_events_on_deactive_window.xul
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 1154183 part.7 Don't dispatch preceding keydown events of reserved keypress events on content in the default event group r=smaug 2016-03-22 15:05:25 +09:00
test_mouse_scroll.xul
test_native_key_bindings_mac.html Bug 1199023. Fix expectations of widget/tests/test_native_key_bindings_mac.html when a scrollbar is added to the iframe it is run in. r=jryans 2016-04-11 22:19:45 -05: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
test_platform_colors.xul
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
test_sizemode_events.xul
test_standalone_native_menu.xul
test_system_status_bar.xul
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
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 1275528 part.1 Support a way to query content relative to insertion point r=smaug 2016-06-16 14:10:49 +09:00
window_imestate_iframes.html
window_mouse_scroll_win.html
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