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

39 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner b30ac6aacd Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
Depends on D1643

MozReview-Commit-ID: 84M50HDg0wl

Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
Kris Maglione 219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Masayuki Nakano 8917ac460f Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK

--HG--
extra : rebase_source : 856ef3715c924ca16e993ea57d92d1243b5cc6be
2018-02-09 19:17:26 +09:00
Masayuki Nakano c1d340ed59 Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior.  Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.

MozReview-Commit-ID: EDWqXy1OxJp

--HG--
extra : rebase_source : 158c6f3d1611646540133297e4c8352e0b85ab79
2018-01-30 22:05:44 +09:00
Jonathan Guillotte-Blouin a09396282c Bug 1372427 - add rule to not throw litterals. r=MattN
MozReview-Commit-ID: F962Z4jhm2l

--HG--
extra : rebase_source : 3598a12db8721a7959b8253cd7e0659fa3b12371
2017-06-14 12:01:50 -07:00
Jonathan Guillotte-Blouin 59345808a2 Bug 1372427 - limit lines to a maximum of 100 chars. r=MattN
MozReview-Commit-ID: 3OSKaTMMBot

--HG--
extra : rebase_source : f6d9c00352003674c643089f158a8d116ae36a20
2017-06-13 16:48:31 -07:00
Jonathan Guillotte-Blouin cc4c1778c4 Bug 1372427 - add "no-use-before-define" rule. r=MattN
MozReview-Commit-ID: BRhwhnxzlpG

--HG--
extra : rebase_source : 45f74a002a90f9a9869fbd14516cb73d19ce6d84
2017-06-13 14:34:12 -07:00
Jonathan Guillotte-Blouin 92bcf669ee Bug 1372427 - add js-doc rule. r=MattN
MozReview-Commit-ID: YgDBHM88PW

--HG--
extra : rebase_source : 449ab51180fdebf2fa6e0b9b6c1ee659a15355dc
2017-06-13 10:48:52 -07:00
Jonathan Guillotte-Blouin 669e2f0d5e Bug 1372427 - Add indentation rules. r=MattN
MozReview-Commit-ID: 62a7RvVlcco

--HG--
extra : rebase_source : 6f2f81af33e14850ab72d64f9b2973f9f06bcfb6
2017-06-12 15:45:00 -07:00
Jonathan Guillotte-Blouin 03ac334e31 Bug 1372427 - Add "curly" eslint rule to fix missing curly braces. r=MattN.
MozReview-Commit-ID: LwVEPezNiCx

--HG--
extra : rebase_source : 69aa18e0e90dcf7559f0509dd40e746add0845ff
2017-06-09 15:56:08 -07:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Jared Wein a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Jared Wein 5e37a69783 Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
MozReview-Commit-ID: 7iXjQtp9ftV

--HG--
extra : rebase_source : 281bc81a05c3f7105918c1eac5141915851cfbe9
2017-01-17 10:38:58 -06:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Mark Banner 32471628fa Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw

--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
Mark Banner 7d81bfea9f Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
MozReview-Commit-ID: 8svkCKZHxsq

--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
Paolo Amadini 3f4af88298 Bug 1162338 - Part 2 - Fix test_bug_511615.html to work in e10s. r=mak
MozReview-Commit-ID: GiwGq2BUdUn

--HG--
extra : rebase_source : d98ba64f4c1b8d65088845f288a19ab85ce6bedf
2016-03-15 15:34:34 +00:00
Blake Kaplan 5aab2947e9 Bug 1162330 - Prepare satchel mochitests for e10s and turn a few of them on. r=MattN 2015-05-28 09:55:46 -07:00
Ehsan Akhgari 0eb4964e86 Trial fix for bug 947531, focus the test window before starting the test 2014-03-29 19:26:37 -04:00
Gavin Sharp 4d947b6985 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen 048824e68e Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange. 2013-05-02 21:20:08 -04:00
Gavin Sharp 1372a3cf1c Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen 0021e7aaee Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Neil Deakin f700a57efa Bug 566746, use improved callback api for asyncronous form history methods, r=mak 2013-04-11 04:01:49 -04:00
Neil Deakin 8f48bceea0 Bug 566746 - Convert to use asynchronous FormHistory.jsm for form history autocomplete tests, p=enndeakin,felix, r=dteller 2013-04-11 04:01:48 -04:00
Bobby Holley a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Neil Rashbrook 52352be580 Better test for bug 649840. r=ehsan. + bustage-fix by sgautherie. 2012-02-02 22:54:58 +01:00
Ehsan Akhgari ac3a500d9b Backout changeset 8b6e498d5933 (bug 649840) because it landed without reviews 2012-01-31 12:07:56 -05:00
Neil Rashbrook be421c5a23 Better test for bug 649840. r=ehsan. + bustage-fix by sgautherie. 2012-01-31 00:27:23 +01:00
Ed Morley c179e0057a Backout 8705f07a49ec (bug 649840) for bustage 2012-01-30 23:20:54 +00:00
Neil Rashbrook 5d4b9bd29a Better test for bug 649840 r=ehsan 2012-01-30 22:28:21 +00:00
Serge Gautherie f4c3635cba Bug 705957. (Bv2) test_bug_511615.html: Improve the spelling of "priviledged". r=ehsan.
DONTBUILD (test-only, spelling-only).
2012-01-05 14:19:14 +01:00
Masayuki Nakano 411111e945 Bug 698949 Editor should refuse untrusted keypress event r=smaug 2011-12-21 21:11:36 +09:00
Serge Gautherie a6c744ffa2 Bug 705957 - Correct the spelling of "privledged" & add 2 comments to test_bug_511615.html; r=ehsan 2011-11-30 13:19:49 +00:00
Malini Das c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Ehsan Akhgari 9b277c04f0 Bug 527935 - Part 2: Fix some unit tests to deal with the changes in the input event; r=dolske a=blocking-final+ 2010-12-17 14:47:09 -08:00
Justin Dolske c90375f827 Bug 511615 - Satchel should ignore untrusted events. r=gavin, sr=mconnor 2009-09-22 23:23:08 -07:00