Wes Kocher
005ac12647
Merge fx-team to m-c a=merge
2016-08-07 00:16:15 -07:00
Tom Tromey
ce87179fdf
Bug 1292574 - make CSS a global rather than a module in devtools loader; r=gregtatum
...
MozReview-Commit-ID: 5RYwDAW4wxt
--HG--
extra : rebase_source : 7d0df48344ad79947ec5d191a7c49411c2ea8cba
2016-08-05 08:32:59 -06: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
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
e2e3133f6f
Bug 1283886 - Allow template literals. r=tromey
...
MozReview-Commit-ID: DPHZjMLs4ED
2016-07-01 18:35:25 -05:00
Tom Tromey
92a3aa0df3
Bug 1264654
- Use DOMParser in devtools. r=bgrins
...
MozReview-Commit-ID: BB829YyUBh7
--HG--
extra : transplant_source : %1Fb%17%07%CA%EE%20%01%92%8A_%F4%C6%F1%27%8D%A1%8C%96%F4
2016-06-20 06:34:32 -06:00
Tom Tromey
d7707e6975
Bug 1265830 - Remove uses of nsIDOMCSSRule from devtools. r=bgrins
...
MozReview-Commit-ID: 9q9Ei38My4A
--HG--
extra : transplant_source : %EA%94%C5%B2%BD%7Fz%F6%1C3O%0B%22%AA%C8%3E%98Z1j
2016-06-16 10:22:28 +01: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
Brian Grinstead
59ac1ee863
Bug 1275706 - Tune eslint max line length to 90. r=jryans
...
MozReview-Commit-ID: BcMKGVZoXND
--HG--
extra : transplant_source : %04n%25%A3%B7G%C5%98/%15%07i%99%27%16p%86%15%9A%FF
2016-05-25 13:46:05 -07:00
Tom Tromey
0d9260b6f7
Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
...
MozReview-Commit-ID: GyoP6ApQXVc
--HG--
extra : amend_source : ace0951657ef7290f45b26a4ae81ac27111a60e2
extra : transplant_source : 0%8B%83%83Q%D0%CF%D8r%B1%C4e%13%3E%D14%06%15%CF%D5
2016-05-13 14:27:28 -06:00
Benoit Chabod
9d21b4e07d
Bug 1258353 - Refactor devtools react components. r=janx
2016-05-17 11:55:49 -07:00
Lin Clark
431cc8b9ac
Bug 1258353 - Update react/sort-comp eslint rule. r=janx
2016-05-17 11:55:33 -07:00
Tom Tromey
8493b659d3
Bug 1266840 - Define XMLHttpRequest in devtools loader. r=jryans
...
MozReview-Commit-ID: 5F2UlTlzx1R
--HG--
extra : transplant_source : %A3%F20%C8%BE%3F%19%C1%F8%A2%A9%FFF3%BBr%8E%95%B0%F5
2016-05-12 13:51:51 -06:00
Patrick Brosset
b2488b6603
Bug 1267015 - Don't access the test content process in browser_styleinspector_tooltip-multiple-background-images.js; r=bgrins
...
MozReview-Commit-ID: H0kgsYzG2x0
--HG--
extra : rebase_source : 7c20c72999895ed29744b2e64166be56e0e42141
2016-05-13 09:59:33 +02:00
J. Ryan Stinnett
715153aac1
Bug 1270619 - Remove globals that aren't actually global. r=pbro
...
MozReview-Commit-ID: HorYPkboF4K
2016-05-09 13:35:09 -05:00
Tom Tromey
08f3ad3f7b
Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
...
MozReview-Commit-ID: HzbnNvTc5db
2016-05-04 08:02:03 -06:00
Carsten "Tomcat" Book
bba206d411
Backed out changeset 797e8190073f (bug 1265876) for memory leaks in browser_markup_mutation_02.js
2016-04-28 08:13:42 +02:00
Tom Tromey
ed07ccffa3
Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
...
MozReview-Commit-ID: HzbnNvTc5db
2016-04-21 11:20:14 -06:00
J. Ryan Stinnett
0b07b90aa6
Bug 1263258 - Require space before paren for anonymous functions. r=pbro
...
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Patrick Brosset
f469bf022f
Bug 1264063 - 2 - Make the CPOW rule log errors and ignore ContentTask.spawn; r=Mossop
...
MozReview-Commit-ID: KN2MAgAvX2c
--HG--
extra : rebase_source : 099489c97f2b0fcae3903cbdd06d43b84e4113b1
2016-04-13 11:05:04 +02:00
Patrick Brosset
2370f09cb0
Bug 1264063 - 1 - Disable prop-types eslint rule and fix sort-comp errors; r=ochameau
...
MozReview-Commit-ID: 26NMWUWiKdi
--HG--
extra : rebase_source : f8ab2c769c2e9a85bb6c2c5490e1ff0a4a59a6e0
extra : histedit_source : 24167a4663762206efced519364edafafd514d9e
2016-04-13 10:24:48 +02:00
Dave Townsend
fc4c4ab84a
Bug 1257246: Update devtools for eslint 2. r=pbro
...
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.
MozReview-Commit-ID: 9xg2Gmlaz94
--HG--
extra : rebase_source : e6db0fd0ef477cd4fd2196b1036783f0974c586b
extra : histedit_source : 03eea033884969cc2a340316377318b0487ebdf2
2016-04-05 11:31:19 -07:00
Tom Tromey
ca928d3839
Bug 1255827 - Put loader-defined globals in devtools/.eslintrc. r=jryans
...
MozReview-Commit-ID: BkNfuA4Dotj
2016-03-11 09:19:00 -05:00
Lin Clark
9308035592
Bug 1253693 - Switch prefer-es6-class React .eslintrc to prefer createClass. r=jlong
...
MozReview-Commit-ID: 1IuYNShuBwH
--HG--
extra : rebase_source : ced881f0fc5c5949032199ffb61a2ee8892e1f89
2016-03-04 12:22:00 -08:00
Lin Clark
2c7534fa8e
Bug 1249088 - Add eslint rules for React. r=pbrosset
...
MozReview-Commit-ID: Ll933hB8a1n
2016-02-25 08:25:00 +01:00
Patrick Brosset
f0a4e90b1f
Bug 1246904 - Change devtools eslint warnings to be errors instead; r=jryans
...
MozReview-Commit-ID: BBE2kZKF1cY
--HG--
extra : rebase_source : 4ff439e0b3cad4f2e16e7e0bf56fdcebf2f94c46
extra : histedit_source : 39fdf2aa36916816c7fe0b3f13b18cad22291b6e
2016-02-25 17:45:57 +01:00
Patrick Brosset
acafefeb18
Bug 1247186 - 2 - Set max-len rule to report errors; r=Honza
...
MozReview-Commit-ID: CA2vyfkxMzE
--HG--
extra : rebase_source : bbe2fbae2e4db8bf7adbfc846e89b20a5ac78e68
2016-02-25 17:38:47 +01:00
Jan Odvarko
2a0e387336
Bug 1249627
- Eslint: allow unused arguments; r=pbrosset
...
MozReview-Commit-ID: AjNppE9zLWL
2016-02-19 16:30:29 +01:00
Michael Ratcliffe
1ee39b0945
Bug 1248563 - eslint cleanup of storage inspector code r=pbrosset
...
--HG--
extra : rebase_source : f9acfe711678f232e60beb2452a69218484dc013
extra : amend_source : 6ff3261de332d8123b1bce6fcf8f75e04321a95a
2016-02-16 16:12:55 +00:00
Patrick Brosset
56647361b4
Bug 1247186 - 1 - Add an ignorePattern to eslint max-len rule to ignore long require lines; r=Honza
...
MozReview-Commit-ID: IMq7HDT3d7S
2016-02-15 13:29:55 +01:00
Jan Odvarko
aa02acc7ae
Bug 1248161 - Remove duplicated entry in devtools/.eslintrc; r=pbrosset
...
MozReview-Commit-ID: CrVJZtORDlw
2016-02-13 19:18:27 +01:00
Tom Tromey
0514beb89b
Bug 1224289 - add eslint rule to reject Cu.importGlobalProperties; r=mikeratcliffe
2016-01-22 13:58:31 -07:00
Tom Tromey
98d5411112
Bug 1240063 - remove balanced-listener rule from devtools .eslintrc; r=pbro
2016-01-19 10:43:08 -07:00
Dave Townsend
ca9efe5553
Bug 1229142: Add shared eslintrc files for the different test suites. r=Standard8
...
--HG--
extra : commitid : AhpmLFDapbw
extra : rebase_source : 2f78e3b01a56c9fb969370967ee20acaf53bd570
extra : histedit_source : 3c8e2b70317bc799d25ff5c6012aa878feecc668
2015-12-17 15:28:06 -08:00
Lin Clark
a588881ffe
Bug 1232743 - Ignore max-len ESLint rule for URLs and loader lines. r=pbrosset
2015-12-15 11:03:00 +01:00
Patrick Brosset
8b2a7c7941
Bug 1229859 - Introduce new import-globals-from eslint rule to import globals from other modules; r=Mossop
...
--HG--
extra : commitid : 3Qt8LBtIO0m
extra : histedit_source : 5907ea5fdfeaa84b116dcc87bfae96e90d2ead9f
2015-12-04 11:21:21 +01:00
Patrick Brosset
b9206ee742
Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop
...
--HG--
extra : commitid : F4M9s89to3Y
extra : rebase_source : 768a99038b43f548d8e0f88248d1be1fe7e5c579
extra : histedit_source : 619e1e7f909a09a7f5731ad8cef9e9a714d76b5e%2Ca78d84e263764af29e9e9e42f419f8189b223d8c
2015-12-10 15:46:32 -05:00
Patrick Brosset
c21276e895
Bug 1230093 - Make the import-headjs-globals rule store variables correctly; r=Mossop
...
--HG--
extra : commitid : E3S2akSJ38y
extra : rebase_source : 3c7eea380147f97e290809f41bb8b8a95c05ea3c
2015-12-03 11:17:02 +01:00
Mark Banner
c96e025e76
Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop
2015-11-30 11:42:25 +00:00
Phil Ringnalda
82cfbc8176
Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
...
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner
e8e5bab529
Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop
2015-11-27 22:37:38 +00:00
Michael Ratcliffe
65b3f9f335
Bug 1218412 - Create ESLint rule to check for CPOWS in browser mochitests r=pbrosset
...
--HG--
extra : transplant_source : %A8%14Q%E4n%F4%A8%001%B7F%5D%04WO%A2A%CFY%D4
2015-10-30 17:24:45 +00:00
Patrick Brosset
c1e49d5de4
Bug 1218425 - ESLint rule that warns against aArg notation in function params; r=miker
...
--HG--
extra : rebase_source : a8bd5eb51bf883a1a944dc14f7a7f1596326906f
2015-10-28 08:32:02 +01:00
Patrick Brosset
1f0548556f
Bug 1218409 - Eslint rule that checks for balanced listeners. r=miker
...
--HG--
extra : rebase_source : f58a5e12f328e22a739167fada8b831f992915e7
2015-10-27 11:21:46 +01:00
Michael Ratcliffe
97c2615aec
Bug 1205814 - mozilla eslint plug: allow top level var only r=pbrosset
...
--HG--
extra : transplant_source : %F2%20%B4%BB%C6%E6%1C%9A%89c%FC%8E%3Bv%0C%E6%95%F9H8
2015-10-26 14:39:47 +00:00
Michael Ratcliffe
3efb3a9e6f
Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps
...
--HG--
extra : commitid : FrMOnVBUxmY
extra : rebase_source : c38511e94177f651a0decad41180991c54cb0f33
2015-09-30 14:44:48 +01:00
Jan Keromnes
e3cff67d47
Bug 1196785 - Drive-by fix DevTools ESLint config. r=pbrosset
2015-09-28 05:49:00 +02:00
J. Ryan Stinnett
0dba62b603
Bug 1196155 - Update renamed ESLint rules. r=pbrosset
...
--HG--
extra : commitid : 2plCfjE207b
extra : rebase_source : 68fa4ece8a529816034aee6cc6a3db11fe666558
2015-09-21 17:19:19 -05:00
J. Ryan Stinnett
4f1af0e003
Bug 912121 - Update misc. DevTools paths and comments. rs=devtools
...
--HG--
extra : commitid : BSf4D59s9HF
extra : rebase_source : 4d14e1aa3ad93bbb426861336e8b703bc1e0b3af
2015-09-21 12:07:31 -05:00
J. Ryan Stinnett
ca2a9fe178
Bug 912121 - Adjust ESLint files. r=pbrosset
...
Move ESList files up to /devtools to represent the entire DevTools tree.
Various relative paths and ignore files are also updated.
--HG--
rename : devtools/client/.eslintignore => devtools/.eslintignore
rename : devtools/client/.eslintrc => devtools/.eslintrc
rename : devtools/client/.eslintrc.mochitests => devtools/.eslintrc.mochitests
rename : devtools/client/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell
extra : commitid : HoJlAh2kMrf
extra : rebase_source : 019757335769f5810481523a6797a717f2cc7acd
2015-09-21 12:02:32 -05:00