Florian Quèze
e2b53c13ce
Bug 1344711 - Add an eslint rule to report an error when a get*Pref call is the only instruction in a try block, r=jaws.
...
--HG--
extra : rebase_source : b98fc9c75089c3eeb2f1317623b08ee9cd4d1541
2017-03-07 15:29:47 +01:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
djmdev
9ac2a16551
Bug 1332651 - Enabled python code linting in Telemetry. r=Dexter
...
Enabled python code linting in Telemetry and created a new .flake8 file in
toolkit/components/telemetry.
2017-03-03 23:47:04 +05:30
Zibi Braniecki
100766fec4
Bug 1335877 - Remove resource://services-common/stringbundle.js from gecko. r=gandalf
...
MozReview-Commit-ID: FNoj7XH71E4
--HG--
extra : rebase_source : 294d3e425ca60e2aac6149998da7f39f62864ae5
2017-03-06 09:39:52 -08:00
Carsten "Tomcat" Book
1bc7720a43
Backed out changeset 0bd17b868a31 (bug 1335877) for causing regression bug 1344760
2017-03-06 17:03:11 +01:00
Mark Banner
7d5e6f23c5
Bug 1344027 - Move eslint-plugin-mozilla's .eslintrc.js file so that all of the plugin is linted, and fix the resulting issues. r=mossop
...
MozReview-Commit-ID: POYhxkeOaw
--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js => tools/lint/eslint/eslint-plugin-mozilla/.eslintrc.js
extra : rebase_source : efd9a97796e72e94c436df6f4223a12d6daa036a
2017-03-03 10:17:54 +00:00
Mark Banner
8796160b00
Bug 1344027 - Add a places-overlay environment for ESLint for when placesOverlay.xul is included. r=mossop
...
MozReview-Commit-ID: 3uoneyJdEmx
--HG--
extra : rebase_source : 4c09327246e3c490c0fa30fd792c04b53d6b142e
2017-03-03 09:25:31 +00:00
Mark Banner
800c6a4602
Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
...
MozReview-Commit-ID: BERAbtYkxsF
--HG--
extra : rebase_source : e319699651a8d33db026d7697ccaddd2d1e4e2d3
2017-02-22 10:19:11 +00:00
Zibi Braniecki
4b7b3d4092
Bug 1335877 - Remove resource://services-common/stringbundle.js. r=rnewman
...
MozReview-Commit-ID: M7V6JS5myy
--HG--
extra : rebase_source : a47d739d3dd67ce563088aaf9fab5421de376cd7
2017-03-02 15:26:53 -08:00
Mark Hammond
9b6693b8ee
Bug 1317223 (part 5) - a bookmark repair responder. r=kitcambridge
...
This is the "repair responder" - it handles a "repairRequest" command sent
by another client and attempts to take the list of IDs that client lists as
missing and upload whatever records are necessary such that the requesting
client would then be likely to find a complete and valid tree on the server.
MozReview-Commit-ID: 4xw19nH6EfL
2017-02-28 15:34:37 +11:00
Mark Hammond
8c4e55d022
Bug 1317223 (part 3) - a bookmark repair requestor. r=markh,tcsc
...
The bookmark repair requestor takes the validation results and possibly
initiates a bookmark repair.
MozReview-Commit-ID: 7rRNbBx8Vo3
2017-03-02 19:21:53 +11:00
Mark Hammond
de20e8f357
Bug 1317223 (part 2) - add 'doctor' concept and move bookmark validation logic to it. r=tcsc
...
This patch defines the concept of a "doctor" for collections. The doctor is
responsible for running all validators and deciding whether or not to initiate
a repair request based on the validation results.
MozReview-Commit-ID: 6NLRE6L0OpA
2017-03-02 17:14:31 +11:00
Mark Hammond
fdeace22db
Bug 1317223 (part 1) - a collection_repair module (without any repairers) and integration with the clients engine. r=rnewman
...
This creates a collection_repair module, somewhat analogous to the existing
collection_validator module. This defines the public interface to request a
new repair and respond to a remote repair request, and also includes changes
to clients.js to call this public interface.
MozReview-Commit-ID: 9JPpRrLgFoR
2017-03-02 16:14:51 +11:00
Mark Banner
e43ef8d772
Bug 1343519 - Bump the version number for eslint-plugin-mozilla for the changes. r=bustage-fix-for-developers a=tomcat
...
MozReview-Commit-ID: EIykbh2t5mv
2017-03-02 00:26:00 +01:00
Mark Banner
23b7396105
Bug 1343519 - Change the ESLint browser-window environment to determine most of the scripts for globals by parsing global-scripts.inc. r=mossop
...
MozReview-Commit-ID: 6rxN3ORgItH
--HG--
extra : rebase_source : 100ddf6c09f229baa2334d11211c6fb28d643c3b
2017-03-01 21:44:45 +00:00
Mark Banner
fb13a772a1
Bug 1343519 - Change the ESLint rule 'import-test-globals' to be an environment (mozilla/simpletest) to better describe the purpose of it. r=mossop
...
MozReview-Commit-ID: DbrsnUVrAas
--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-test-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/simpletest.js
extra : rebase_source : 97d0537c347999159c82d4757b265f580ec981eb
2017-03-01 21:34:24 +00:00
Mark Banner
09889d3184
Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
...
MozReview-Commit-ID: FTDV8BcMGeF
--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
extra : rebase_source : f0e89f2ce3cfdf343213f66a007f74a80a785c19
2017-03-01 21:29:52 +00:00
Mark Banner
c23e14f565
Bug 1343519 - Change some function calls from using 'this' to 'context' in the eslint-plugin-mozilla code so that it works correctly when timing rule lengths. r=mossop
...
MozReview-Commit-ID: Dzjnhtu9bml
--HG--
extra : rebase_source : 16746dab5a46fd447329ca381ef44fc854695af0
2017-03-01 21:05:01 +00:00
André Bargull
f5150ddf41
Bug 1340146 - Part 2: Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
2017-02-27 09:55:21 -08:00
Wes Kocher
dbf209197e
Backed out 2 changesets (bug 1340146) for spidermonkey bustage a=backout
...
Backed out changeset 5556b171034e (bug 1340146)
Backed out changeset c355a0ffcb10 (bug 1340146)
MozReview-Commit-ID: JTVSUcenPdC
2017-02-27 15:28:34 -08:00
André Bargull
a8358b9891
Bug 1340146 - Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
...
--HG--
extra : rebase_source : c34e54150dafbab3f6422b1beb0689b9ced87608
2017-02-27 09:55:21 -08:00
Mark Banner
c1b9e3db78
Bug 1341029 - Add more 'globals' for browserjs equivalent imports, and for test imports. r=mossop
...
MozReview-Commit-ID: Iy0rSOivsGQ
--HG--
extra : rebase_source : ba1f7583624d0b28591a6c7b54ec218bdbd0a40a
2017-02-08 09:41:30 +00:00
Mathieu Leplatre
8e621b659c
Bug 1224528 - Load initial JSON files for blocklist r=mgoodwin
...
MozReview-Commit-ID: D53xoTa0PZu
--HG--
extra : rebase_source : a4aa143c627df0f70c15fd3589cde7a49e30d80d
2016-12-11 14:37:22 -10:00
Mark Banner
733f0b7c97
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
--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Wes Kocher
0240235e36
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 2KYT7x0b6I1
2017-02-15 19:17:03 -08:00
Phil Ringnalda
8f2ba061cd
Backed out changeset 63d0ef447e81 (bug 1224528) for Android permaorange in test_blocklist_certificates.js
2017-02-15 19:07:26 -08:00
Wes Kocher
3797956aa6
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Deepa
31c56b8f1f
Bug 1280572 - Add layout/tools/reftest to flake8 linter r=ahal
...
MozReview-Commit-ID: Cqllz9BeV7X
--HG--
extra : rebase_source : 862709bfe8600a0761467cc79cfa9dadb4e66e62
2017-02-15 01:20:56 +05:30
Mark Banner
d28d6df424
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
--HG--
extra : rebase_source : 63005f09ce96135ea239db2de7bcffa924ae03ef
2017-02-07 11:14:49 +00:00
Matthew Noorenberghe
82d2407ee9
No bug - Follow-up to fix eslint 'max-len' failure.
...
MozReview-Commit-ID: AoyUSqODG3b
--HG--
extra : rebase_source : 68b24cda681f6479758d65c47a321cbfd5169bab
2017-02-14 23:11:53 +08:00
Sean Lee
60e157bd14
Bug 1300989 - Part 1: Fill the autofill profile that the user selects from autocomplete; r=MattN
...
MozReview-Commit-ID: 5oMgvdO5RD1
--HG--
extra : rebase_source : 629a34ec404f9c426857172644b4ae8003ac1b70
extra : histedit_source : 1aeddb96261a8da9058fe65412e8ba9944f93fb2
2017-01-07 09:22:19 +08:00
Mathieu Leplatre
870ef630b6
Bug 1224528 - Load initial JSON files for blocklist r=mgoodwin
...
MozReview-Commit-ID: D53xoTa0PZu
--HG--
extra : rebase_source : 48481994fc4aa6afcd7ef46ac62861fc1ad6b281
2016-12-11 14:37:22 -10:00
Carsten "Tomcat" Book
433f1f5ec7
Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul
2017-02-15 15:24:32 +01:00
Mark Banner
cd234e0642
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
--HG--
extra : rebase_source : e8eb9718da9bf378b293aca5211c53dd063d4f7a
2017-02-07 11:14:49 +00:00
Matthew Noorenberghe
1c46be9433
Bug 1333682 - Split FormAutofillContent.js into a few JSMs shared for the process. r=seanlee
...
MozReview-Commit-ID: BpnLzuI1DvW
--HG--
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2017-02-14 14:18:32 +08:00
Florian Quèze
535b5bcde6
Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws.
2017-02-13 13:01:32 +01:00
Tom Schuster
aeaf8fb38c
Bug 1330006 - Land and enable self-hosted JS eslint plugin. r=till,mossop
2017-02-07 21:58:21 +01:00
Mark Banner
e5c2479848
Bug 1336070 - Enable eslint no-undef for browser/, apart from components/ and base/content/. r=mossop
...
MozReview-Commit-ID: CJtpm8zlLxa
--HG--
extra : rebase_source : c6a834d5aaba0f84f5e147333085883de1a118e8
2017-02-02 09:08:42 +00:00
Wes Kocher
f2cb5e7c63
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
stefanh@inbox.com
3e60e56c26
Bug 1333485 - Remove LogUtils.jsm from services/crypto/modules/. r=markh.
2017-02-01 20:55:09 +01:00
Carsten "Tomcat" Book
29cd257175
merge mozilla-inbound to mozilla-central a=merge
2017-01-30 15:59:14 +01:00
Florian Quèze
77bac28360
Bug 1334831 - add an eslint rule to report usage of .parentNode.removeChild when .remove() could be used instead, r=jaws.
2017-01-30 08:10:18 +01:00
Wes Kocher
7cd28f7e5d
Merge inbound to central, a=merge
...
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Edouard Oger
7314dabc8c
Bug 1296767 part 10 - Remove FxA Migration code. r=markh
...
MozReview-Commit-ID: DamrbblcMmZ
2017-01-27 13:31:58 -05:00
Edouard Oger
cdce850c10
Bug 1296767 part 5 - Remove add_identity_test helper. r=markh
...
MozReview-Commit-ID: 12pP01IHRyp
2017-01-27 13:30:48 -05:00
Edouard Oger
df80e282e9
Bug 1296767 part 4 - Update tests to work with the BrowserID identity manager. r=markh
...
MozReview-Commit-ID: AFRyZFW6xZU
2017-01-27 13:30:48 -05:00
Edouard Oger
bf4dae4e25
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
2017-01-27 13:30:47 -05:00
Edouard Oger
c94655827a
Bug 1296767 part 2 - Remove Sync UserApi. r=markh
...
MozReview-Commit-ID: CdgLxCN52Os
2017-01-27 13:30:47 -05:00
Edouard Oger
bb525e4654
Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
...
MozReview-Commit-ID: iD4OJv436i
2017-01-27 13:30:47 -05:00
Mark Banner
8cf0d4744c
Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
...
MozReview-Commit-ID: IrtWclENDth
--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00