Masayuki Nakano
53a40055b6
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
2018-02-09 19:17:26 +09:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Mark Banner
6067ef1cb5
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 2. r=florian
...
MozReview-Commit-ID: 44oBXPP88Lc
2017-10-30 17:22:17 +00:00
Mark Banner
7ff28ae4b4
Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
...
MozReview-Commit-ID: 5gKiuWF4LeA
2017-10-24 21:40:59 +01:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Luciano Italiani
7480cc09d7
Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: 4WkNg0YrgHx
2017-07-27 23:01:13 -03:00
Florian Quèze
b2499a4c57
Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop.
2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63
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
5a181760cc
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
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Masatoshi Kimura
7f7e7b1b45
Bug 1342144 - Fix ESLint errors in toolkit/. r=Yoric
...
MozReview-Commit-ID: 9sp2uMryv8U
2017-02-24 22:02:11 +09:00
Masatoshi Kimura
4f2e64ad3d
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Mark Banner
0172a32b29
Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
...
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Florian Quèze
a19e007056
Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws.
2017-02-13 13:01:32 +01:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
fb8a196639
Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
...
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00:00
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
b0f59ac265
Bug 1316882: Turn on func-call-spacing eslint rule. r=bgrins
...
MozReview-Commit-ID: GIkQnRX9woD
2016-11-10 15:05:32 -08:00
Dave Townsend
12596ced47
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01:00
Dave Townsend
dc3810c548
Bug 1314343: Turn on no-unreachable in eslint. r=standard8
...
Unreachable code can be a sign of a mistake so we should turn this rule on.
MozReview-Commit-ID: LQphsNL7HBX
2016-11-01 10:58:35 -07:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Dragana Damjanovic
31a7348925
Bug 1277895 - Remove one new line from http auth prompt message. r=dolske
2016-09-16 09:24:26 +02:00
Matthew Noorenberghe
d46e68509f
Bug 1298193 - Part 7: Make test_prompt_promptAuth work with channels in the parent. r=Dolske
...
MozReview-Commit-ID: 4PTYcJr83pW
2016-08-25 22:59:51 -07:00
Matthew Noorenberghe
6c38ee1fdf
Bug 1266618 - Fix test_prompt.html for E10S by using a ChromeWindow. r=dolske
...
This switches getPrompt to use a ChromeWindow which matches what the shipping code does for e10s.
MozReview-Commit-ID: DcVSr6JfmdK
2016-08-25 00:06:51 -07:00
Saad Quadri
5023fcc3b2
Bug 1274042 - Remove unnecessary edge case handling for E10S mode in prompt tests. r=Dolske
...
MozReview-Commit-ID: FKocwybNyib
2016-08-12 09:45:44 -07:00
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Justin Dolske
babcb1da96
Bug 1265077 - Fix Linux focus issues in test_modal_prompts.html. r=MattN
2016-06-29 15:01:56 -07:00
Dragana Damjanovic
d5c6b66b8b
Bug 1278418 - Add TODO for missing default button when focus is missing. r=dolske
2016-06-23 08:15:42 +02:00
Dragana Damjanovic
6e72a11bb8
Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
2016-06-06 01:06:00 +02:00
Carsten "Tomcat" Book
529f945807
Backed out changeset 490d3460a197 (bug 1230462) for test failures in test_modal_prompts.html
2016-06-05 11:26:57 +02:00
Dragana Damjanovic
570b31b4cc
Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
2016-06-03 09:09:00 +02:00
Christoph Kerschbaumer
ff38ee8272
Bug 1271188 - Remove SEC_NORMAL from toolkit/components/prompts/test/test_modal_prompts.html (r=sicking)
2016-05-12 14:06:25 +02:00
Carsten "Tomcat" Book
37fa9ce062
Backed out changeset 0dbe09e2ce98 (bug 1269039) for timeouts in windows test_master_password.html
2016-05-03 12:30:06 +02:00
Carsten "Tomcat" Book
1577de2c1c
Backed out changeset c93e30cbbed8 (bug 1269039)
2016-05-03 12:29:40 +02:00
Matthew Noorenberghe
82e73713fe
Bug 1269039 - Make test_master_password.html work with e10s. r=dolske
...
MozReview-Commit-ID: LUVxtCxaZ8G
2016-05-02 19:54:01 -07:00
Matthew Noorenberghe
5b2ff45c1d
Bug 1269039 - Use add_task in test_master_password.html. r=dolske
...
MozReview-Commit-ID: Bx1zVTyynN3
2016-05-02 17:33:09 -07:00
Justin Dolske
e72e79a414
Bug 1267388 - Make handlePrompt() take state/action args and actually use them. r=MattN
2016-04-29 10:09:54 -07:00
Justin Dolske
4e093a4868
Bug 1267388 - move test to mochitest/ dir, add action object. r=MattN
2016-04-29 10:09:53 -07:00