Commit Graph

104 Commits

Author SHA1 Message Date
Masayuki Nakano
cebca7ab8a Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00
Masayuki Nakano
23bb94d093 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
0e8bfa0a8e Bug 917322 part.13 B2G should use nsITextInputProcessor in forms.js r=smaug+xyuan 2015-01-28 15:27:32 +09:00
Olli Pettay
faee2dfe7e Bug 1079236, Event.composedTarget to reveal the original non-native-anonymous event target, r=wchen, r=smaug 2015-01-23 13:55:46 +02:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Tim Chien
7086ef24a8 Bug 936724 - Implement addInput/removeInput in InputMethod API. r=yxl, r=khuey 2014-12-09 14:20:40 -05:00
Ryan VanderMeulen
054f112d6d Backed out changeset a0a2ada42652 (bug 936724) because something in the push made Gij(2) permafail.
CLOSED TREE
2014-12-09 12:09:09 -05:00
Tim Chien
55b49905e1 Bug 936724 - Implement addInput/removeInput in InputMethod API, r=yxl, r=khuey 2014-12-08 18:46:00 +01:00
Masayuki Nakano
fa0d074313 Bug 1077345 part.8 CompositionManager.endComposition() in forms.js should use nsIDOMWindowUtils.sendCompositionEvent('compositioncommit') r=xyuan 2014-11-25 14:02:32 +09:00
Tim Chien
70baea09ea Bug 1092549 - Only allow FocusChange message to change formMM. r=yxl 2014-11-03 01:37:00 +01:00
Tim Chien
efb8459088 Bug 1069055 - Merge focused element deletion test to another test. r=yxl 2014-10-31 02:11:00 +01:00
Tim Chien
12977c15e3 Bug 1083617 - Block the blur message if focus is already removed from remote frame. r=yxl 2014-10-28 23:47:00 -04:00
Tim Chien
e3277f83ab Bug 1079455 - Drop edit action when focus message is not yet send. r=yxl 2014-10-23 20:22:00 +02:00
Tim Chien
be9563ed5b Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
Jan Jongboom
c8c3ab24b8 Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses. r=yxl 2014-10-09 06:06:00 -04:00
Ting-Yu Chou
da5c3ab815 Bug 1066515 - Part 3: Finalize active inputmethod when mochitest finish. r=yxl 2014-10-09 11:05:51 +08:00
Ting-Yu Chou
afa0e2e02f Bug 1066515 - Part 2: Add replaceSurroundingText() test cases for content editable element. r=yxl 2014-10-09 16:24:50 +08:00
Ting-Yu Chou
86be933479 Bug 1066515 - Part 1: Set selection range directly when replacing within current text node. r=yxl 2014-10-03 14:09:53 +08:00
Carsten "Tomcat" Book
5e19affa54 Backed out changeset 46c1cce018de (bug 1059163) for frequent test failures of the new test 2014-10-09 12:08:09 +02:00
Jan Jongboom
f19ff988ec Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses r=xyuan 2014-10-08 16:27:27 -07:00
Masayuki Nakano
e6d1b6b01e Bug 975383 part.7 Remove compositionupdate dispatchers in forms.js of B2G r=yxl 2014-10-03 15:33:49 +09:00
Tim Chien
50f643b1d6 Bug 1057898 - Test for tapping between two inputs. r=yxl 2014-09-04 19:52:00 -04:00
Tim Chien
0e320d9362 Bug 1057898 - Tap between two inputs should result one inputcontextchange event. r=yxl 2014-09-04 19:43:00 -04:00
Tim Chien
d521111d48 Bug 1054839 - Revive detail object in selectionchange and surrendingtextchange event. r=khuey,yxl 2014-08-25 22:47:00 +02:00
Jan Jongboom
854280cee5 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
Martijn Wargers
4d71b5379f Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
John Lu [:mnjul]
3c89f36d03 Bug 1043828 - Switching IMEs doesn't always work after switching to 3rd-party keyboard and back. r=yxl 2014-08-07 14:44:46 +08:00
Ms2ger
d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Ahmed Kachkach
4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Bill McCloskey
055511bb01 Bug 921299 - Don't consider all keypresses to be synthetic events on b2g (r=smaug) 2014-07-10 16:46:28 -07:00
Ed Morley
2d37e50b3c Backed out changeset ad9e35d75c08 (bug 1026997) for test_reftests_with_caret.html failures 2014-07-08 17:06:00 +01:00
Jan Jongboom
569db4f657 Bug 957213 - Rewrite tests for inputmethod to avoid intermittent errors. r=yxl 2014-06-25 07:58:00 -04:00
Jan Jongboom
b545352726 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-07-08 03:31:00 -04:00
Yuan Xulei
a78536840a Bug 1001325 - Create valid WebIDL object for MozInputContext. r=fabrice 2014-07-03 18:10:13 +08:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Yuan Xulei
9ba876b57a Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki 2014-06-17 12:05:49 +08:00
Arpad Borsos
d343c495d8 Bug 1011856 - Remove usage of 2nd WeakMap#get parameter from MozKeyboard; r=xyuan
--HG--
extra : rebase_source : 9ab7d3e454a56c74380b608b32b262f80b3e2e6a
2014-05-20 14:19:14 +02:00
Yuan Xulei
63a81d9132 Bug 1000095 - Fix mozInputMethod.mgmt.hide. r=fabrice 2014-04-25 01:16:00 +02:00
Yuan Xulei
9982695b17 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-04-09 20:03:00 +02:00
Alexandre Poirot
6b82f43a5f Bug 963239 - Implements "SystemAppProxy.jsm" to abtract and ease interacting with the system app from platform code. r=vingtetun 2014-04-07 09:59:48 -04:00
Ryan VanderMeulen
e273e369b1 Backed out changeset aa47acfdbdae (bug 986992) for packaging bustage. 2014-04-02 16:01:40 -04:00
Yuan Xulei
9b17f52df5 Bug 986992 - Remove navigator.mozKeyboard. r=fabrice 2014-03-31 10:41:08 +08:00
Yuan Xulei
5ef8a3a81b Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Wei Deng
91d0671901 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Ehsan Akhgari
0410df628a Bug 986993 - Remove the classinfo on the inputmethod API classes because they are already ported to WebIDL; r=bzbarsky
This patch also removes the mention to some non-existent interfaces.
2014-03-24 21:59:33 -04:00
Ryan VanderMeulen
d1d39ca3f2 Bug 983015 - Skip all inputmethod tests in the B2G emulator. 2014-03-20 13:43:14 -04:00
Wei Deng
4164cd3490 Bug 978918 - Filter hidden <br> when get content editable text length. r=yxl 2014-03-20 18:37:00 +08:00
Ryan VanderMeulen
b05d33336b Bug 983015 - Skip test_bug944397.html, test_delete_focused_element.html, and test_sendkey_cancel.html on B2G for frequent timeouts that abort the testsuite. 2014-03-20 09:14:01 -04:00