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

15 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch 2f2881e670 Bug 1503915 - allow trailing newlines in selection for test_mousecapture.xhtml as we can't be 100% sure how far we'll scroll, r=kats 2018-11-02 19:09:10 +00:00
Gijs Kruitbosch a4f704aafb Bug 1362774 - followup, disable test_mousecapture.xhtml on linux64 quantumrender dbg only, r=aryx 2018-11-01 16:04:50 +00:00
Kartikaya Gupta fc66c485b6 Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
MozReview-Commit-ID: 5VIHjwx6A2j

--HG--
extra : rebase_source : d986028cff52ba52a58887225e272bf04ad88de3
2018-04-25 11:29:07 -04:00
Masayuki Nakano 169354c54c Bug 1407085 - nsAutoCompleteController shouldn't restore original value after somebody changes the input value even when Escape key is pressed r=mak
When Escape key is pressed, nsAutoCompleteController needs to restore last
string which was default value of the input or typed by the user.  However,
somebody may change the value, e.g., an event listener which handles
Escape key.  In this case, nsAutoCompleteController shouldn't restore the
last string.

Unfortunately, when JS sets input value, DOM "input" event won't be fired.
Therefore, nsAutoCompleteController doesn't have a chance to modify
mSearchString in this case.  Therefore, nsAutoCompleteController needs to
store expected input string for checking if somebody modified the input value.
For solving this issue, this patch adds a new member, mSetValue which is
modified when the input value is modified by nsAutoCompleteController itself
or mSearchString is modified.

Even with this patch, if user temporarily selects an item of the popup and
JS sets same value as the selected item from JS, nsAutoCompleteController
restores the input value with mSearchString.  However, this must be rare
case and I don't have idea to fix this issue with simple patches.

MozReview-Commit-ID: lig8c7xvD7

--HG--
extra : rebase_source : 787dbfb35bc70d27fb09ec93861164e7a5165be3
2017-12-19 16:46:20 +09:00
Kartikaya Gupta 4f18e92ffb Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de

--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Christoph Kerschbaumer 5c7ac7954b Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 15:18:00 +02:00
Sebastian Hengst c80daf709f Backed out changeset b669da0374a2 (bug 1337272) for linting failure at test_mousecapture.xhtml:208: 'topPos' is assigned a value but never used. r=backout 2017-07-18 14:16:54 +02:00
Christoph Kerschbaumer 1e03699e83 Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 13:47:53 +02:00
Mike de Boer 007b11298d Bug 1261306 - convert test_autocomplete_change_after_focus.html from m-chrome to m-plain. r=dolske
--HG--
rename : toolkit/content/tests/chrome/test_autocomplete_change_after_focus.html => toolkit/content/tests/mochitest/test_autocomplete_change_after_focus.html
2016-04-26 13:09:55 +02:00
Carsten "Tomcat" Book e9d4d92284 Backed out changeset 9ad67a907cae (bug 1261306) for test failures like test_autocomplete_change_after_focus.html
--HG--
rename : toolkit/content/tests/mochitest/test_autocomplete_change_after_focus.html => toolkit/content/tests/chrome/test_autocomplete_change_after_focus.html
2016-04-21 15:33:02 +02:00
Mike de Boer 0f737a95c9 Bug 1261306 - convert test_autocomplete_change_after_focus.html from m-chrome to m-plain. r=dolske
--HG--
rename : toolkit/content/tests/chrome/test_autocomplete_change_after_focus.html => toolkit/content/tests/mochitest/test_autocomplete_change_after_focus.html
2016-04-21 11:53:53 +02:00
Gijs Kruitbosch e6fd6099aa bug 1254091 convert test_mousecapture.xul to mochitest-plain so we can run it in e10s, r=enndeakin
MozReview-Commit-ID: 8xqtaIjafSw

--HG--
rename : toolkit/content/tests/chrome/test_mousecapture.xul => toolkit/content/tests/mochitest/test_mousecapture.xhtml
extra : rebase_source : 9d5476c965b2a67757e372a7ec1ee2db980acc4f
2016-03-18 12:48:22 +00:00
Sebastian Hengst 4fd310ea03 Backed out 2 changesets (5b3f81a32770, e3e1207de3e9; bug 1254091) for frequent timeouts in test_mousecapture.xhtml on OSX 10.10 opt. r=backout
--HG--
rename : toolkit/content/tests/mochitest/test_mousecapture.xhtml => toolkit/content/tests/chrome/test_mousecapture.xul
2016-03-17 22:16:59 +01:00
Gijs Kruitbosch 121c5b6e16 Bug 1254091 - followup: disable mochitest plain test on android because XUL, rs=bustage
MozReview-Commit-ID: 6SP7WJUHYNo

--HG--
extra : rebase_source : 4fab61899be2b37e41ef449786a19388930047c1
2016-03-17 13:38:15 +00:00
Gijs Kruitbosch d741923040 Bug 1254091 - convert test_mousecapture.xul to mochitest-plain so we can run it in e10s, r=enndeakin
MozReview-Commit-ID: EKv1zClo0wk

--HG--
rename : toolkit/content/tests/chrome/test_mousecapture.xul => toolkit/content/tests/mochitest/test_mousecapture.xhtml
extra : rebase_source : 9c5c5ebf900d72cf3a6e63654a9abe16b89aba1a
extra : histedit_source : beadeefb5c04d16778d75e7be4a43a817c29f828%2C9cc1d8976bd623278bebcfbdc71300a114e83591
2016-03-17 10:29:24 +00:00