Stone Shih
744eec94bc
Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
...
Make sure input events are processed before or after the dependent tasks.
MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Stone Shih
5e5cea7619
Backed out changeset de4929e39b7e (bug 1351148)
2017-08-11 15:19:30 +08:00
Stone Shih
263fd4d632
Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
...
Make sure input events are processed before or after the dependent tasks.
MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Carsten "Tomcat" Book
4c1b3192ca
Backed out changeset 5198322f7a62 (bug 1351148)
2017-07-28 09:20:20 +02:00
Stone Shih
34554b5597
Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
...
Make sure input events are processed before or after the dependent tasks.
MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Jim Chen
791a65ebd1
Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp
...
Bug 1137567 - 1. Allow dispatching key events during composition; r=esawin
We potentially dispatch key events during composition to provide
compatibility for pages that only listen to key events.
Bug 1137567 - 2. Allow keyboard events in DispatchInputEvent when not on APZ thread; r=rbarker
We use nsIWidget::DispatchInputEvent to dispatch our keyboard events on
the Gecko thread, which on Android is not the APZ controller thread. We
should allow these events to pass instead of crashing.
Bug 1137567 - 3. Add GeckoEditableSupport class to support TextEventDispatcher; r=masayuki
Add a separate GeckoEditableSupport class, which implements
TextEventDispatcherListener and uses TextEventDispatcher for IME
operations. The new class is entirely separate from nsWindow to allow it
to be independently used in content processes as well.
Most of the code is copied from nsWindow::GeckoViewSupport, and adapted
to use TextEventDispatcher.
Bug 1137567 - 4. Make nsWindow::WindowPtr available for outside classes; r=snorp
Make nsWindow::WindowPtr available not just for classes inside nsWindow
but for outside classes as well. Also, add support for RefPtr native
objects to nsWindow::NativePtr.
Bug 1137567 - 5. Use GeckoEditableSupport in nsWindow; r=esawin
Use the new GeckoEditableSupport class in nsWindow to replace the
previous code in nsWindow::GeckoViewSupport. GeckoEditable native
methods now go to GeckoEditableSupport instead of GeckoViewSupport.
Several native methods in GeckoEditable are changed from
dispatchTo="proxy" to dispatchTo="gecko", because we no longer need the
special nsWindow::WindowEvent wrapper for our native calls.
Bug 1137567 - 6. Use pushPrefEnv in test_assign_event_data.html; r=masayuki
setAndObserveCompositionPref in test_assign_event_data.html does not
invoke the callback if the pref is already set. This patch changes it to
use SpecialPowers.pushPrefEnv so the callback is always invoked.
2017-03-01 15:29:30 -05:00
Drew Willcoxon
f26de82fa3
Bug 1253479 - [e10s] Make widget/tests/test_assign_event_data.html work under e10s. r=masayuki
2016-03-10 16:56:13 -08:00
Maksim Lebedev
a5c996b3b6
Bug 974305 - Add a test for WidgetPointerEvent::AssignPointerEventData(). r=smaug
2015-04-22 16:09:10 +09:00
Robert O'Callahan
6ffe4a76c2
Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
2015-03-14 00:50:10 +13:00
Anish
fa269e6f15
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers
2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
d406cdf168
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
0de2fa06b1
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher
2015-02-19 07:26:41 -05:00
Masayuki Nakano
7b434b3ea9
Bug 1119609 part.13 EventUtils.synthesizeComposition() and synthesizeCompositionChange() should take KeyboardEvent for emulating composition state change caused by a key operation rs=smaug
2015-02-19 15:50:20 +09:00
Masayuki Nakano
095859574c
Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug
2015-01-28 15:27:33 +09:00
Masayuki Nakano
bf48bd2fa7
Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug
2015-01-28 15:27:32 +09:00
Masayuki Nakano
75e8651cc7
Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
a517a335c4
Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug
2014-11-25 14:02:31 +09:00
Masayuki Nakano
2d0dee6f79
Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug
2014-10-07 19:01:50 +09:00
Masayuki Nakano
424fc4f2bc
Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug
2014-10-03 15:33:50 +09:00
Masayuki Nakano
bf143f35db
Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan
2014-04-10 16:11:37 +09:00
Masayuki Nakano
09062f2a74
Bug 993234 part.2 Add tests for KeyboardEvent.isComposing r=smaug
2014-04-10 16:11:37 +09:00
Boris Zbarsky
1985f8ead4
Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey
2014-02-23 00:01:12 -05:00
Masayuki Nakano
82f2c4c0df
Bug 930374 part.2 Fix test_assign_event_data.html for new defaultPrevented behavior and make it a chrome test r=smaug
2013-12-09 00:51:16 +09:00
Masayuki Nakano
341339d58a
Bug 930900 part.2 Fix event class names in test_assign_event_data.html r=smaug
2013-10-29 13:14:43 +09:00
Masayuki Nakano
5264321933
Bug 930900 part.1 Add new key name index which means KeyboardEvent.key should refer stored string (not implemented yet) r=smaug
2013-10-29 13:14:42 +09:00
Masayuki Nakano
feb8b0bbce
Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc
2013-09-14 11:39:41 +09:00
Masayuki Nakano
02e9ba872a
Bug 910978 part.19 Implement nsMutationEvent::AssignMutationEventData() r=smaug
2013-09-03 20:45:30 +09:00
Masayuki Nakano
783b4a04c7
Bug 910978 part.18 Implement nsAnimationEvent::AssignAnimationEventData() r=smaug
2013-09-03 20:45:30 +09:00
Masayuki Nakano
51c7d4e4eb
Bug 910978 part.17 Implement nsTransitionEvent::AssignTransitionEventData() r=smaug
2013-09-03 20:45:30 +09:00
Masayuki Nakano
66b1fa760c
Bug 910978 part.16 Implement nsSimpleGestureEvent::AssignSimpleGestureEventData() r=smaug
2013-09-03 20:45:30 +09:00
Masayuki Nakano
10d6a0ee88
Bug 910978 part.15 Implement nsFocusEvent::AssignFocusEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
10836ba8b1
Bug 910978 part.14 Implement nsUIEvent::AssignUIEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
a50d511c7f
Bug 910978 part.13 Implement nsClipboardEvent::AssignClipboardEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
725897f909
Bug 910978 part.12 Implement nsCommandEvent::AssignCommandEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
cb211bf848
Bug 910978 part.11 Implement nsFormEvent::AssignFormEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
08d3f876b6
Bug 910978 part.10 Implement nsTouchEvent::AssignTouchEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
a6c11e85fd
Bug 910978 part.9 Implement widget::WheelEvent::AssignWheelEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
c8b64e1976
Bug 910978 part.8 Implement nsMouseScrollEvent::AssignMouseScrollEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
2540fca329
Bug 910978 part.7 Implement nsCompositionEvent::AssignCompositionEventData() r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
9a30ac31b6
Bug 910978 part.6 Implement nsTextEvent::AssignTextEventData() and make nsTextEvent not a derived class of nsInputEvent because nobody uses the stored data r=smaug
2013-09-03 20:45:29 +09:00
Masayuki Nakano
9b2100234d
Bug 910978 part.5 Implement nsDragEvent::AssignDragEventData() r=smaug
2013-09-03 20:45:28 +09:00
Masayuki Nakano
e6e3603d36
Bug 910978 part.4 Implement nsScrollAreaEvent::AssignScrollAreaEventData() r=smaug
2013-09-03 20:45:28 +09:00
Masayuki Nakano
e182aebc88
Bug 910978 part.3 Implement nsScrollPortEvent::AssignScrollPortEventData() r=smaug
2013-09-03 20:45:28 +09:00
Masayuki Nakano
01b6da8ab1
Bug 910978 part.1 Implement nsScriptErrorEvent::AssignScriptErrorEventData() r=smaug
2013-09-03 20:45:28 +09:00
Masayuki Nakano
b2d2dc5113
Bug 910978 part.0 Fix wrong indent in test_assign_event_data.html r=smaug
2013-09-03 20:45:28 +09:00
Masayuki Nakano
890a1c39c7
Bug 910156 Add AssignKeyEventData() and AssignMouseEventData() for sharing the code in nsDOMEvent::DuplicatePrivateData() and nsDelayed*Event r=smaug
2013-08-30 11:10:32 +09:00