Commit Graph

139 Commits

Author SHA1 Message Date
Jared Wein
8d45b8762e Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx

--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00
Jared Wein
797f4c4fe4 Bug 1233198 - Remove preprocessing from toolkit/content/widgets/videocontrols.xml. r=Gijs
MozReview-Commit-ID: LXAxCTf4OEg

--HG--
extra : rebase_source : 068f9c8d4fdef276115cd5a9fcd25aca8b381c68
2016-08-13 19:04:09 -04:00
Tom Tromey
39f7f2c862 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB

--HG--
extra : rebase_source : 14c52fe412675d9442d8d723cc3e8da55b169079
2016-08-05 13:17:17 -06:00
Tom Tromey
2906b38502 Bug 1281931 - make framework/selection.js eslint-clean; r=gregtatum
MozReview-Commit-ID: AhPQwws4WaQ

--HG--
extra : rebase_source : 2704e01bdda77937c3af0baf4a6c61a2293e4573
2016-07-26 13:26:10 -06:00
Tom Tromey
947c17e208 Bug 1291834 - make devtools/shared/async-storage.js eslint-clean; r=jryans
MozReview-Commit-ID: LswJRCUrejy

--HG--
extra : rebase_source : 8bc8fc48c264ab331d8e42a9f632115cbd100270
2016-08-03 13:21:11 -06:00
Wes Kocher
005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
Wes Kocher
0201cd41e9 Merge m-c to fx-team, a=merge 2016-08-05 14:06:23 -07:00
Tom Tromey
0ffbda8268 Bug 1292591 - use reject-some-requires eslint rule in sourceeditor; r=gregtatum
MozReview-Commit-ID: LdPU8bdSGd5

--HG--
extra : rebase_source : a650e325a168b563022c474e0bdb0044f5ee8c1a
2016-08-05 09:09:27 -06:00
Tom Tromey
c99878c1ab Bug 1292245 - remove some unnecessary imports of chrome from devtools; r=gregtatum
MozReview-Commit-ID: JVVVHAImsko

--HG--
extra : rebase_source : 939fbeb84405bf3740202eb5c0f1ba6c8aae9d92
2016-08-04 11:55:40 -06:00
Jarda Snajdr
9af5d7880e Bug 1286281 - Part 4: WebSocket-based debugger transport r=jryans
MozReview-Commit-ID: G4h7Z3KJTMA
2016-08-03 00:50:00 -07:00
Jarda Snajdr
06b68bac22 Bug 1286281 - Part 3: WebSocket server for WebSocket remote debugger transport r=jryans
MozReview-Commit-ID: DFcPTayju7m
2016-08-05 05:00:00 -07:00
Greg Tatum
34824c4105 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7

--HG--
extra : rebase_source : f9b225e5a4464b7e6f937e4670a0bfbf472dc916
2016-08-02 17:18:01 -05:00
Greg Tatum
0e9ac53382 Bug 1290142 - Lint devtools/client/performance/modules/; r=jsantell
MozReview-Commit-ID: 5Q71TImHlgW

--HG--
extra : rebase_source : f32af3bc22238c61d4abeafa596845809d808f34
2016-07-28 11:53:20 -05:00
Greg Tatum
72753529ec Bug 1290142 - Lint devtools/client/performance/legacy; r=jsantell
MozReview-Commit-ID: 9zX19SxK8rw

--HG--
extra : rebase_source : 54d96b55046b6447e60b2d194989dc7da3b5718d
2016-07-28 10:47:12 -05:00
Greg Tatum
92f73e196a Bug 1290142 - Lint devtools/client/performance/components; r=jsantell
MozReview-Commit-ID: E418yPtONiX

--HG--
extra : rebase_source : 53f70dcefae586f5bb95c7cc21035a0aab71930e
2016-07-28 08:58:05 -05:00
Tom Tromey
dcacc7afac Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV

--HG--
extra : rebase_source : b5e35bb035a2bf9927d4ee6416e4b8b86c38006b
2016-07-28 12:11:42 -06:00
Mark Banner
0d47d718ce Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-30 08:48:29 +01:00
Mark Banner
08ab3adda4 Backed out changeset 1a8114aa64c1 (bug 1287827) for breaking tests 2016-07-29 18:17:18 +01:00
Mark Banner
08a2b46865 Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-29 12:00:25 +01:00
Luca Greco
99aed59d84 Bug 1285557 - eslint should lint the selected devtools actors. r=jryans
MozReview-Commit-ID: LJbWHYed9gH

--HG--
extra : rebase_source : 4eb86a5977ca43b8c3548733a4b4ec4344230b98
2016-07-25 13:21:06 +02:00
Luca Greco
d01ad0fefd Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/webextension.js
extra : rebase_source : 4e15cd90658dcc28e8cb90414c55cd66865c711e
2016-07-25 16:28:49 +02:00
Greg Tatum
4a28de030e Bug 1288830 - Start to lint parts of the performance tool. r=jsantell 2016-07-22 13:55:00 -04:00
Patrick Brosset
4b2d233450 Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue

--HG--
extra : rebase_source : fb6b4feec4be295cb4494be66d0b188d6b538579
2016-06-06 15:11:27 +02:00
J. Ryan Stinnett
efa881ac27 Bug 1240907 - Clean up code style in test-actor-registry.js. r=ochameau
MozReview-Commit-ID: GKAKgnVDimD
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett
79af73828e Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau
MozReview-Commit-ID: 48Jr1Si8oUh
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett
89a70c452d Bug 1283583 - Clean up code style in devtools/server/child.js. r=ochameau
MozReview-Commit-ID: GoHv6jvX6M1
2016-07-01 18:35:25 -05:00
Julian Descottes
7e1c46f37f Bug 1278823 - fix eslint issues in StyleEditorUI.jsm;r=tromey
MozReview-Commit-ID: 7rI0Kw56Vp4

--HG--
extra : rebase_source : d030b22894b646ba2677cc8929b630cae392d151
2016-06-21 12:21:47 +02:00
Tom Tromey
469cee9bad Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d

--HG--
extra : transplant_source : n%A3%EF0e%9F%8E%09%FC4%95%F8%60l3%B73%BDS%C7
2016-06-24 08:26:21 -06:00
Tom Tromey
af5e8f9ef5 Backed out changeset 3518b484f82d (bug 1275637) for errors in browser_se_first-run.js; CLOSED TREE; r=me, a=KWierso
MozReview-Commit-ID: HumbpXccwrF
2016-06-22 14:19:19 -06:00
Tom Tromey
ba0f9d2892 Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G
2016-06-20 06:38:39 -06:00
J. Ryan Stinnett
ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Wes Kocher
07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrew Halberstadt
fc24b11e43 Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker
This commit simply moves 'testing/eslint' to 'tools/lint/eslint' and the eslint related
mach command from 'python/mach_commands.py' to 'tools/lint/mach_commands.py'. It shouldn't
have any functional change on running eslint, either through mach or taskcluster.

This is in preparation for bug 1258341, to make the diffs there a little easier to read.

MozReview-Commit-ID: K03sn9lv9Lv

--HG--
rename : testing/eslint/eslint-plugin-mozilla/LICENSE => tools/lint/eslint/eslint-plugin-mozilla/LICENSE
rename : testing/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/index.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/index.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst
rename : testing/eslint/eslint-plugin-mozilla/lib/globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/helpers.js => tools/lint/eslint/eslint-plugin-mozilla/lib/helpers.js
rename : testing/eslint/eslint-plugin-mozilla/lib/index.js => tools/lint/eslint/eslint-plugin-mozilla/lib/index.js
rename : testing/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => tools/lint/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js
rename : testing/eslint/eslint-plugin-mozilla/moz.build => tools/lint/eslint/eslint-plugin-mozilla/moz.build
rename : testing/eslint/eslint-plugin-mozilla/package.json => tools/lint/eslint/eslint-plugin-mozilla/package.json
rename : testing/eslint/manifest.tt => tools/lint/eslint/manifest.tt
rename : testing/eslint/npm-shrinkwrap.json => tools/lint/eslint/npm-shrinkwrap.json
rename : testing/eslint/package.json => tools/lint/eslint/package.json
rename : testing/eslint/update => tools/lint/eslint/update
extra : rebase_source : bb44b6285acf4625079cb6a3aaca7d9ada778c3a
2016-06-02 15:38:36 -04:00
J. Ryan Stinnett
b48b79960b Bug 1278413 - Clean up code style in worker.js, event-emitter.js. r=tromey
MozReview-Commit-ID: LVbo9i0rPqI
2016-06-07 22:32:40 -05:00
J. Ryan Stinnett
e1d147bbfc Bug 1278357 - Clean up code style in transport.js. r=tromey
MozReview-Commit-ID: 3uFu6AhOfbg
2016-06-06 17:39:50 -05:00
Julian Descottes
01e9c7d987 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L

--HG--
extra : rebase_source : 0e9686790c15cf1e1e0ec6e8fddfe6cd441ef070
extra : source : 49d7963e43d890488ad0ad9b1a592c57bdc2be49
2016-06-02 10:35:03 +02:00
Carsten "Tomcat" Book
d08f21c9a8 Backed out changeset 49d7963e43d8 (bug 1202458) for test failures in test_inspector-mutations-value.html
--HG--
extra : rebase_source : daf55daa5c2f5c0a47babdcf86fb8d81f6ce4b99
2016-06-02 16:30:08 +02:00
Julian Descottes
cd86158629 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L

--HG--
extra : rebase_source : 4861bf47e31ea6d1d0193663a8c92f16eef12214
extra : histedit_source : 28d396641f0c8f12d9f28bc321a72e0666dd2db8
2016-06-02 10:35:03 +02:00
Tom Tromey
e27f135b3b Bug 1277243 - rename promise_defer.js to defer.js; r=jryans
MozReview-Commit-ID: 9TSQ0Cw82B

--HG--
rename : devtools/shared/promise_defer.js => devtools/shared/defer.js
rename : devtools/shared/tests/unit/test_promise_defer.js => devtools/shared/tests/unit/test_defer.js
extra : transplant_source : %20Kh%D2%21%E9%F9%D1%17L%BD%AC%E5%29%1A%11%06%A9.%98
2016-05-27 13:08:48 -06:00
gasolin
9bccc8284f Bug 1256767 - Fix ESLint errors/warnings in devtools/client/webconsole/console-commands.js; r=linclark
MozReview-Commit-ID: A5L5DqtHjGe

--HG--
extra : transplant_source : %C0%A4wAu%23%83%7Fp%BA%2A%C5%0C%F6%3E4%1B%08%07%D4
2016-04-20 18:06:01 +08:00
Ryan VanderMeulen
b0934aa13f Backed out changeset 75bb440d7525 (bug 1275637) for browser_se_first-run.js failures.
CLOSED TREE
2016-05-26 19:51:33 -04:00
Tom Tromey
c8fa47521b Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G

--HG--
extra : transplant_source : %F0%00%02%AF%1C%C7%C80O%7D%0B%C5%DE%01%80%CF%ED%86%A5%12
2016-05-25 13:39:18 -06:00
Jason Laster
fae5df8bb3 Bug 1265885 - Add devtools module to replace promise.defer. r=jryans
MozReview-Commit-ID: 1Paf8cfkh5Q
2016-05-25 12:40:00 -04:00
Patrick Brosset
4f864f4ffd Bug 1274964 - ESLint cleanup of devtools/client/inspector; r=jryans
MozReview-Commit-ID: HCRVzU6NdM4

--HG--
extra : rebase_source : 375d55c7688599d57615a04f68ed7230cab856c2
extra : amend_source : a0fa5104ef3fbd7ba98512979cfb2396645c07e9
2016-05-23 10:41:02 +02:00
Wes Kocher
78f5e4c770 Bug 1270994 - Re-add webgl-utils.js to .eslineignore because I just intentionally re-broke it CLOSED TREE 2016-05-23 14:08:10 -07:00
Tom Tromey
50ab4ddfdd Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
Tom Tromey
0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
cea8e5072a Bug 1271084 - Explicitly ignore files with specific style. r=tromey
MozReview-Commit-ID: DOvplOCJIAl
2016-05-18 12:49:23 -05:00
J. Ryan Stinnett
b13c5a9153 Bug 1271084 - Remove missing files from .eslintignore. r=tromey
MozReview-Commit-ID: 5NsTjhMbDe9
2016-05-18 12:49:23 -05:00
Ryan VanderMeulen
54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00