Andrew Halberstadt
0e697ce235
Bug 1422302 - Create python/mozterm for sharing terminal blessings across modules r=gps
...
This is a new module that will provide a place to store some common
abstractions around the 'blessings' module. The main entrypoint is:
from mozterm import Terminal
term = Terminal()
If blessings is available, this will return a blessings.Terminal()
object. If it isn't available, or something went wrong on import,
this will return a NullTerminal() object, which is a drop-in
replacement that does no formatting.
MozReview-Commit-ID: 6c63svm4tM5
--HG--
extra : rebase_source : 9ab221774d92a418d9b098d79bb2c88f75d937f8
2017-12-04 09:38:24 -05:00
Mark Banner
499ca20f31
Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
...
MozReview-Commit-ID: KOZWr7FiDQZ
--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Tom Prince
615d82c39d
Bug 1421162
: Remove some dead mozharness mar
code; r=jlund
...
MozReview-Commit-ID: JvkQ713z1eW
--HG--
extra : rebase_source : 25329f9d189cc1ca1c5823bfa0c15966417ff841
extra : source : d768123592505cb15bcb03f86b62e244c066626a
2017-11-27 22:50:31 -07:00
Mark Banner
35c35f9fa8
Bug 1422724 - Remove items that are no longer in PlacesUtils.jsm from ESLint's module.json list. r=mak
...
MozReview-Commit-ID: IkbT2Vz65FJ
--HG--
extra : rebase_source : 196caa055821cd850c3b3c82c7e717c9b0c91e68
2017-12-04 12:09:44 +00:00
Edouard Oger
0095a12f6f
Bug 1420266 - Regenerate constants.js exports in modules.json. r=tcsc
...
MozReview-Commit-ID: BvBZLLOk6oZ
--HG--
extra : rebase_source : 0c4dba8e8c9e95a071250a49c8a43cdc5da6fd96
2017-11-23 15:22:29 -05:00
Mark Banner
e4262540c6
Bug 1417944 - Enable ESLint rule mozilla/use-services for toolkit/. r=mossop
...
MozReview-Commit-ID: JhHXYma5Adp
--HG--
extra : rebase_source : 79d9876a82b39070d5d3cd1e9464e23d113c88a8
2017-11-22 13:36:34 +00:00
Mark Banner
4da30e3721
Bug 1386351 - Let the Lint hook default to pre-push (for git) if being called directly. r=glandium
...
MozReview-Commit-ID: 9TnLu8w92oN
2017-11-23 09:09:33 +00:00
steveck-chung
45ecb2c0e5
Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
...
MozReview-Commit-ID: 4rFagXU5iit
--HG--
extra : rebase_source : af0f34250fd0f92c84aa3d9b648e72d5e08ca828
2017-11-10 18:36:22 +08:00
Ed Lee
2791b99bc9
Bug 1417017 - Check for content. usage at global and within add_task for no-cpows-in-tests. r=standard8
...
MozReview-Commit-ID: Asz6dM29uRJ
--HG--
extra : rebase_source : 4f5b67cc5ff48cbdb9afddc24f5842ecaeff0b15
2017-11-14 02:17:57 -08:00
Csoregi Natalia
2bccdfa7a0
Backed out 2 changesets (bug 1022925) for failing browser/base/content/test/static/browser_all_files_referenced.js r=backout on a CLOSED TREE
...
Backed out changeset edbf6d586c9a (bug 1022925)
Backed out changeset 44f9fc2f03bb (bug 1022925)
--HG--
rename : browser/extensions/formautofill/addressmetadata/addressReferences.js => browser/extensions/formautofill/content/addressReferences.js
2017-11-21 17:00:09 +02:00
steveck-chung
172ad9bbb9
Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
...
MozReview-Commit-ID: 4rFagXU5iit
--HG--
extra : rebase_source : c80881a1154583494af6c8b560a2ed70e2f0af8c
2017-11-10 18:36:22 +08:00
Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Andrew Halberstadt
c10125cefb
Bug 1405588 - [lint] Stop forwarding 'args' in the git pre-push hook, r=standard8
...
The args passed in from the git pre-push hook aren't necessarily a valid ref,
so can result in failure. By default, the git implementation should be smart
enough to automatically determine which ref to compare against, so passing this
in from the hook shouldn't be necessary.
MozReview-Commit-ID: ESMQqbeGOHd
--HG--
extra : rebase_source : 3c363b6c531f278d7c5b3ddf41fb0f16e79966dc
2017-11-01 17:07:18 -04:00
Mark Banner
7f5c3c3582
Bug 1375689 - Turn on experimentalObjectRestSpread in ESlint options. r=mossop
...
MozReview-Commit-ID: BLZp3HskBji
--HG--
extra : rebase_source : 721d0586deb572a5e989547d592d741cc9d15950
2017-11-14 13:21:16 +00:00
Mark Banner
2cb6019eeb
Bug 1371293 - Automatically clobber node_modules when upgrading from ESLint 3 to 4. r=ahal
...
This is intended to help with ensuring that developer's profiles cleanup and upgrade correctly, as we've seen issues in the past.
MozReview-Commit-ID: CqCRDN0y64I
--HG--
extra : rebase_source : a4668cd40bfaf1dc031e02713de78767305d4728
2017-11-07 14:30:56 +00:00
Mark Banner
c62d0c64f8
Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
...
MozReview-Commit-ID: 2YHYOLTtqxu
--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Geoff Brown
cbb956e0c3
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Margareta Eliza Balazs
7e070192d7
Merge inbound to mozilla-central r=merge a=merge
2017-11-10 11:55:43 +02:00
Nicholas Nethercote
f4dd5e2636
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Edouard Oger
1873a289f7
Bug 1415957 - Remove MozMill from TPS. r=tcsc
...
MozReview-Commit-ID: HyBXrNqhzIf
--HG--
extra : rebase_source : da197fa045f70621d5549e961876cfc6ce15264b
2017-11-09 15:34:06 -05:00
Narcis Beleuzu
57d9eb5fb1
Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
...
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Narcis Beleuzu
218e1676cb
Merge inbound to mozilla-central r=merge a=merge
2017-11-08 12:51:09 +02:00
Nicholas Nethercote
8b3d03c666
Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Thom Chiovoloni
935734388d
Bug 1412351 - Make sync behave better during shutdown r=kitcambridge
...
MozReview-Commit-ID: 4zWNph8Zdld
--HG--
extra : rebase_source : 12e9f82222a4bcfe2161ad02669619b57f0442fe
2017-10-27 13:37:49 -04:00
Nick Alexander
96a9c22d8b
Bug 1409087 - Part 4: Remove browser JUnit 3 tests and build apparatus for {browser,background}.apk. r=Grisha,ted.mielczarek
...
The browser JUnit 3 test suite has never run in automation, and no
test has been added or updated since 2016. Half of the existing
"tests" are broken on my local device. This allows to clean several
Makefile's related to this undeveloped testing approach, which won't
be pursued post-Gradle.
MozReview-Commit-ID: 1EbGMLntuyR
--HG--
extra : rebase_source : b4751f96851a8df61c0333a3e0ade3805b280dfe
2017-11-02 16:03:00 -07:00
Thom Chiovoloni
4a77d5a93f
Bug 1388224 - Remove SyncStorageRequest HTTP wrapper class, which is no longer used r=kitcambridge
...
MozReview-Commit-ID: EgExfizNll5
--HG--
extra : rebase_source : 85a6098a5b985990bd3a8483936bf6cf768f1f0b
2017-11-01 17:17:46 -04:00
Sebastian Hengst
4ff29d14f8
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: GSDYk9wLOAM
--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Jim Chen
d19eceacd5
Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
...
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.
MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Mark Banner
d7b2685724
Bug 1412890 - Enable ESLint rule mozilla/use-services for toolkit/components/passwordmgr. r=MattN
...
MozReview-Commit-ID: BNojtj1cAji
--HG--
extra : rebase_source : 8480740988f3d7f94358360926ae8957c06a0758
2017-10-30 16:28:39 +00:00
Attila Craciun
566b7a287d
Backed out 1 changesets (bug 1412890) possible ESlint failure r=backout on a CLOSED TREE.
...
Backed out changeset cac71ff2481c (bug 1412890)
2017-11-01 10:32:50 +02:00
Mark Banner
7dcccb8252
Bug 1412890 - Enable ESLint rule mozilla/use-services for toolkit/components/passwordmgr. r=MattN
...
MozReview-Commit-ID: BNojtj1cAji
--HG--
extra : rebase_source : cfbe9b186e4be171674807a48d9e1accb67b34db
2017-10-30 16:28:39 +00:00
Valentin Gosu
1bd153659e
Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh
...
MozReview-Commit-ID: HuzeeB43YZZ
--HG--
extra : rebase_source : 3924170ce50126dbbae7c97cae601b69d0ab95af
2017-10-31 13:02:28 +01:00
Mark Banner
01008c7d57
Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
...
MozReview-Commit-ID: 8pidN7x6MYh
--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Mark Banner
3b50478984
Bug 1246896 - Bump version number of eslint-plugin-mozilla, and update its dev dependencies. r=florian
...
MozReview-Commit-ID: 1rmbkvCeXfa
--HG--
extra : rebase_source : a79b9c1412914362bfd227478511c54729b801e7
2017-10-27 16:44:53 +01:00
Mark Banner
0f98aa8a05
Bug 1246896 - Improve detection for mozilla/no-cpows-in-tests.js 'content' - only notify when content is used as an identifier. r=florian
...
MozReview-Commit-ID: 1X38Wq4hUmZ
--HG--
extra : rebase_source : 6d7b0e8c9048045b47af02590455e060411953e3
2017-10-13 17:04:48 +01:00
Mark Banner
272b0102c2
Bug 1246896 - Add some basic tests for ESLint rule mozilla/no-cpows-in-tests.js. r=florian
...
MozReview-Commit-ID: 2tZS1GYUUbH
--HG--
extra : rebase_source : 9feff09ef0305e67b3580c6260740ccdbfa699c4
2017-10-13 16:10:36 +01:00
Sebastian Hengst
443416f881
Merge mozilla-central to autoland. r=merge a=merge
2017-10-26 00:39:55 +02:00
Andrew Halberstadt
59d606ead7
Bug 1411568 - Enable py3 linter on testing/xpcshell r=stevea1+601043
...
MozReview-Commit-ID: 722pub6TTuQ
--HG--
extra : rebase_source : 54571c07d49cdb01b3593c861fa708f51fd2f7bd
2017-10-25 08:51:16 -04:00
Sebastian Hengst
1ead0a96a9
Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu
9dd47ebf50
Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
...
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags
MozReview-Commit-ID: Gr3nA25kcre
--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Steve Armand
fa0b6e7c7e
Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
...
MozReview-Commit-ID: GnaVLhtO4un
--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Sylvestre Ledru
e0bda6ceaf
Bug 1410938 - Make mach_commands.py flake8/pep8 compatible and add it the list of flake8 files r=gps
...
MozReview-Commit-ID: HKWsDehR0vZ
--HG--
extra : rebase_source : 1e77f8aee5f909dd7b4cfaace6014015c51cf589
2017-10-23 18:40:22 +02:00
Attila Craciun
a323e78c2b
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-10-25 12:36:59 +03:00
Steve Armand
df510b4622
Bug 1403131 - Run linters against mozharness scripts and configs. r=rail
...
MozReview-Commit-ID: 3dkx1SQiIns
--HG--
extra : rebase_source : 45f049032243b8bbae7d052a89cefcdb2b7e1f60
2017-10-24 20:21:41 -04:00
Sebastian Hengst
a79a507dc2
Backed out changeset 6fa6cfe0199c (bug 1403131) for mass reftest failures. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : 4d399778793d9239e5c441fe237a15d12c4f1360
2017-10-23 16:39:24 +02:00
Steve Armand
3be377b84e
Bug 1403131 - Run linters against mozharness scripts and configs. r=rail
...
--HG--
extra : rebase_source : 4d9458f1819de0a73af9191d560557ab01ffa32e
extra : histedit_source : 1a3c743a9a1c6a3304e4a924be90164fcf882e1f%2C440a79ff12f256a2a79aff6b592fe838c1c9e6e3
2017-10-23 09:46:15 -04:00
Patrick Brosset
714264d3e8
Bug 1406061 - Remove the unused Jsbeautify.jsm module; r=jdescottes
...
MozReview-Commit-ID: KF39qXJ2s11
--HG--
extra : rebase_source : 29394e085bf80d394dd4e1c6013082c0ebe94069
2017-10-19 09:58:19 +02:00
Mark Banner
8340eb52c8
Bug 1230373
- Add an ESLint rule to prefer using Services.jsm rather than getService. r=mossop
...
MozReview-Commit-ID: G9dp4PxcyT7
--HG--
extra : rebase_source : 957b5ead56c8c778b1ba812343c132b34030135f
2017-10-06 17:03:38 +01:00
Mark Banner
d4ad271c61
Bug 1230373
- Fix an issue with eslint-plugin-mozilla not detecting the global scope properly when arrow functions are used. r=mossop
...
MozReview-Commit-ID: IOCM8Fjl0xQ
--HG--
extra : rebase_source : 63face219569f50bdfb00bcd7384f334ec6113c2
2017-10-16 15:08:26 +01:00
Blake Kaplan
0a9754f57f
Bug 1406212 - Remove the code that handles extensions for e10s{,-multi}. r=Felipe
...
MozReview-Commit-ID: ElPZIBmOYHR
--HG--
extra : rebase_source : 97e955084c71be1658a588013160d69469dc307c
2017-09-28 16:09:20 -07:00