Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 729263c3df Bug 1511563 - Don't make NAC editable by default. r=masayuki
I think this is a more consistent fix for the issue.

Differential Revision: https://phabricator.services.mozilla.com/D16521
2019-01-15 11:52:35 +01:00
Boris Zbarsky 754087a992 Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
Boris Zbarsky 75abc43e0d Bug 1476145 part 8. Stop using getInterface(nsIDOMWindowUtils) in various test code. r=kmag 2018-07-24 19:47:43 -04:00
Florian Quèze 6df7549a3e Bug 1433175 - semi-automated indent fix, r=Mossop. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Masayuki Nakano 7436f01057 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy

--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Jim Chen ae409c5147 Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 14:20:30 -04:00
Carsten "Tomcat" Book c05ed2b925 Backed out changeset 0359d3b3dc55 (bug 1254629) for rc4 perma failures 2016-03-16 10:29:10 +01:00
Jim Chen 1f14c2a2c3 Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 02:16:56 -04:00
Jim Chen 6e298a23a6 Bug 1248459 - Don't query out-of-bounds selection; r=masayuki
During a query selection event, fail if the selection is outside of the
editor's root content. This can happen if the placeholder text in an
input field is somehow selected. The placeholder is in a separate
element outside of the root content.

Also fix a bug in test_imestate, where the selection was not properly
reset at the start of a test.
2016-03-03 13:10:07 -05:00
Masayuki Nakano 91298b51a5 Bug 1167022 part.4 Get rid of MozIMEFocus(In|Out) events r=smaug 2015-05-26 16:45:26 +09:00
Masayuki Nakano e370b5e7e0 Bug 1167022 part.3 Fix test_imestate.html for conforming to the new IME focus notification behavior r=nchen 2015-05-26 16:45:26 +09:00
Phil Ringnalda 53b4601f96 Back out 4 changesets (bug 1167022) for reftest-e10s bustage
CLOSED TREE

Backed out changeset de4013b979a7 (bug 1167022)
Backed out changeset b97f76c4be1c (bug 1167022)
Backed out changeset cbc7f8b88a46 (bug 1167022)
Backed out changeset 00b1c04181d3 (bug 1167022)
2015-05-23 21:40:21 -07:00
Masayuki Nakano bdb3dae876 Bug 1167022 part.4 Get rid of MozIMEFocus(In|Out) events r=smaug 2015-05-24 10:11:37 +09:00
Masayuki Nakano 999bfdde66 Bug 1167022 part.3 Fix test_imestate.html for conforming to the new IME focus notification behavior r=nchen 2015-05-24 10:11:37 +09:00
Anish 45de248a8b 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 c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish e7006d8a59 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 7a85c69f66 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 afb256c118 Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug 2015-01-28 15:27:32 +09:00
Joel Maher 6286ce360e Bug 926830 - Test cleanup for plugin enabledState usage, widget. r=gfritzsche 2014-02-17 15:58:06 +01:00
Masayuki Nakano 9f491a5703 Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano 17d8fb7e4a Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano 5825b07b8e Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug 2014-10-03 15:33:50 +09:00
Masayuki Nakano c552beddd0 Bug 911951 part.2 Reimplement synthesizeText() in EventUtils.js and remove nsIDOMWindowUtils.COMPOSITION_ATTR_* from all tests r=smaug 2013-09-13 00:19:00 +09:00
Masayuki Nakano f938c365b2 Bug 840837 Fix IME enabled state check at MozIMEFocusOut r=bz 2013-03-23 23:20:31 +09:00
Karl Tomlinson 731f4dadf2 b=850559 remove unnecessary advanceTimeAndRefresh() usage
--HG--
extra : rebase_source : f27bb748cb9e1732bcf0f16be158d6684a49fd36
2013-03-15 09:49:45 +13:00
Trevor Saunders fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Jim Chen 554226fcdd Bug 808287 - Add test for IME focus/blur mismatch condition; r=masayuki 2012-11-17 19:15:01 -05:00
Masayuki Nakano 32a8eee843 Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin 2012-11-13 10:18:57 +09:00
Masayuki Nakano 0bc2b12b46 Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug 2012-11-09 17:40:40 +09:00
Ehsan Akhgari 82448818ee Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287 2012-11-06 19:54:43 -05:00
Masayuki Nakano 86d75d937c Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin 2012-11-03 15:32:26 +09:00
Masayuki Nakano 6fecf30153 Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc 2011-09-22 18:17:41 +09:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Joel Maher bb2e78799b Bug 666654 - split eventutils.js functions that are chrome only into chromeutils.js. r=ted, a=test-only 2011-07-23 09:02:40 -04:00
Joel Maher 6659c4f8af Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
Benjamin Smedberg ee2c7162c0 Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:33 -04:00
Michael Wu 353263dece Bug 581596 - Create GetInputMode API, r=masayuki,roc sr=roc a=blocking-fennec 2010-11-22 22:48:45 -08:00
Masayuki Nakano 61b85533fe Bug 582893 temprary disables the new tests against a orange 2010-08-16 18:01:01 +09:00
Masayuki Nakano 30970d30d2 Bug 582893 IME isn't disabled when password fields on sheet dialog get focus r=smichaud, b2.0=final+ 2010-08-16 17:20:27 +09:00
Masayuki Nakano 849f525487 Bug 568135 IME composition string is committed unexpectedly on Gmail when editor flag was changed by some commands r=smaug 2010-05-27 11:04:14 +09:00
Masayuki Nakano ebc9405576 Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Masayuki Nakano 189d5d4756 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Masayuki Nakano bacd523afa Bug 531810 Right clicking on Google Maps broken after leaving Street View (Windows only) r=roc 2009-12-04 17:03:27 +09:00