Commit Graph

126 Commits

Author SHA1 Message Date
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
Jared Wein
430f39e4c7 Bug 1268159 - Use GreD in addition to XCurProcD for browser_misused_characters_in_strings.js to cover more string files. r=gijs
MozReview-Commit-ID: IlC170W0nlG
* * *
[mq]: temp

MozReview-Commit-ID: GF0k4zvONPD
2016-04-29 09:28:48 -04:00
Justin Dolske
935a0bf0b7 Bug 1265194 - Android test is now hanging, so disable it. Bug 1267092 to look at why it and others in this dir are problematic. 2016-04-24 14:27:50 -07:00
Justin Dolske
20b3f00e8b Bug 1265194 - Fix test bustage. 2016-04-24 11:01:01 -07:00
Justin Dolske
1e05613bbc Bug 1265194 - Refactor prompt tests to use state/action objects and new common helpers. r=adw 2016-04-24 11:01:01 -07:00
Justin Dolske
c658473e5b Bug 1265194 - Move handlePrompt() and checkPromptState() to prompt_common.js, and rename a test. r=adw 2016-04-24 11:01:01 -07:00
Justin Dolske
ffb41fe5d1 Bug 1263784 - Fix test_modal_prompts.html and test_modal_select.html to run under E10S. r=adw
Use chromeScript and message manager to fetch state of prompt and dismiss it. Enable tests in E10S.

MozReview-Commit-ID: 5M9GYijlQPV
2016-04-15 13:43:25 -07:00
Justin Dolske
37a9d23100 Bug 1263784 - Fix test_modal_prompts.html and test_modal_select.html to run under E10S. r=adw
Move state/action objects out of handleDialog, into main runTest() body.

MozReview-Commit-ID: 1250sb8N5sT
2016-04-15 13:43:25 -07:00
Justin Dolske
d3fe06177e Bug 1263784 - Fix test_modal_prompts.html and test_modal_select.html to run under E10S. r=adw
Make expected-state object independent from ui object.

MozReview-Commit-ID: 547tN5kSyDt
2016-04-15 13:43:25 -07:00
Justin Dolske
c161975016 Bug 1263784 - Fix test_modal_prompts.html and test_modal_select.html to run under E10S. r=adw
Move all expected-ui state checks into state object.

MozReview-Commit-ID: AKV0z4G3R7d
2016-04-15 13:43:25 -07:00