Commit Graph

127 Commits

Author SHA1 Message Date
Tim Chien
8e204ab9bf Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap 2015-08-26 20:18:00 -04:00
Tim Chien
758988db97 Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien
382b19be7c Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Ryan VanderMeulen
2e712f948d Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)

CLOSED TREE
2015-08-24 13:27:01 -04:00
Tim Chien
5cd398bf20 Bug 1197672 - s/_sendPromise/createPromiseWithId/ in mozInputMethod.addInput(). r=kchen 2015-08-23 21:28:00 -04:00
Tim Chien
c6708a3e1b Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien
212967564f Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Nick Robson
3d61d63c3e Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm 2015-08-19 14:53:22 -07:00
Tim Chien
199cca088f Bug 1175399 - Move readonly detection into isFocusableElement. r=janjongboom 2015-07-03 01:42:00 +02:00
Tim Chien
91ddc465c0 Bug 1175024 - Don't destroy and recreate DOMRequestIpcHelper instance for every InputContext. r=fabrice 2015-07-02 23:47:00 +02:00
Boris Zbarsky
3ee7f9fb42 Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
Tim Chien
7dfe808087 Bug 1132349 - Test for focus removal after pagehide/submit/beforeload. r=janjongboom 2015-06-15 03:13:00 -04:00
Tim Chien
1bf808e34f Bug 1162360 - Dispatches focus and blur message synchronously, r=yxl 2015-05-21 20:13:00 +02:00
Rudy Lu
428694f057 Bug 1162680 - Notify Keyboard.jsm to send blur event when the message manager is closed first. r=timdream 2015-06-12 01:41:00 -04:00
Ryan VanderMeulen
94f7a40d2d Backed out changeset 0cd8eeb72c1b (bug 1162360) for suspicion of causing share_activity_test.js permafail.
CLOSED TREE
2015-05-29 13:06:29 -04:00
Tim Chien
8e6a28f208 Bug 1162360 - Dispatches focus and blur message synchronously. r=yxl 2015-05-21 20:13:00 -04:00
Tim Chien
36e2e2444a Bug 1122463 - Don't blur the input when submit is cancelled. r=yxl 2015-02-11 21:39:00 -05:00
George Duan
fbbdcd8e72 Bug 1135293 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl
DONTBUILD
2015-03-17 20:24:00 -04:00
Ryan VanderMeulen
ba341457bd Backed out changeset d8c689def44e for landing with the wrong bug number in the commit message. 2015-03-24 10:48:56 -04:00
George Duan
dba2936a66 Bug 1130028 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl 2015-03-17 20:24:00 -04:00
Morris Tseng
68ecddefdb Bug 1125045 - yAxisVisible should compare with offset.height instead of pos.width. r=xyuan 2015-02-26 01:01:00 +01:00
Masayuki Nakano
483fbc830f Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
60d702a190 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
6cea2a629c 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
b3a2564e22 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
458541ab50 Bug 917322 part.13 B2G should use nsITextInputProcessor in forms.js r=smaug+xyuan 2015-01-28 15:27:32 +09:00
Olli Pettay
c24d27ebac 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
309b4049b4 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
1dcf657bfc Bug 936724 - Implement addInput/removeInput in InputMethod API. r=yxl, r=khuey 2014-12-09 14:20:40 -05:00
Ryan VanderMeulen
f150bb479c 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
8664cddfe6 Bug 936724 - Implement addInput/removeInput in InputMethod API, r=yxl, r=khuey 2014-12-08 18:46:00 +01:00
Masayuki Nakano
685d0ba86e 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
263b3e2ca6 Bug 1092549 - Only allow FocusChange message to change formMM. r=yxl 2014-11-03 01:37:00 +01:00
Tim Chien
73c4b9b693 Bug 1069055 - Merge focused element deletion test to another test. r=yxl 2014-10-31 02:11:00 +01:00
Tim Chien
080d598bb4 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
008773f957 Bug 1079455 - Drop edit action when focus message is not yet send. r=yxl 2014-10-23 20:22:00 +02:00
Tim Chien
7641f90d08 Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
Jan Jongboom
78f5ffbcb1 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
1bcb665afc Bug 1066515 - Part 3: Finalize active inputmethod when mochitest finish. r=yxl 2014-10-09 11:05:51 +08:00
Ting-Yu Chou
8e4efad490 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
45de243ea8 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
981dad40e1 Backed out changeset 46c1cce018de (bug 1059163) for frequent test failures of the new test 2014-10-09 12:08:09 +02:00
Jan Jongboom
27ab51afe5 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
aa14aa64a1 Bug 975383 part.7 Remove compositionupdate dispatchers in forms.js of B2G r=yxl 2014-10-03 15:33:49 +09:00
Tim Chien
546baa7006 Bug 1057898 - Test for tapping between two inputs. r=yxl 2014-09-04 19:52:00 -04:00
Tim Chien
1de7990d2b Bug 1057898 - Tap between two inputs should result one inputcontextchange event. r=yxl 2014-09-04 19:43:00 -04:00
Tim Chien
2bbdf0617e Bug 1054839 - Revive detail object in selectionchange and surrendingtextchange event. r=khuey,yxl 2014-08-25 22:47:00 +02:00
Jan Jongboom
7819db9f82 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
Martijn Wargers
174ea37131 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]
b8e95616ff 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