Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Nan Jiang ea55294f24 Bug 1458617 - Add telemetry to detect if a user has a custom about:newtab/home page. r=Mardak
MozReview-Commit-ID: JrGQmFb2AXH

--HG--
extra : rebase_source : 7259ff36962004632ec64195bb6803b83ebf67c9
2018-05-15 13:47:56 -04:00
Mark Banner 55d1e986ea Bug 1461997 - Enable ESLint rule mozilla/require-expected-throws-or-rejects for browser/components. r=Gijs
MozReview-Commit-ID: JXqwIyF6v6k

--HG--
extra : rebase_source : 2220610f8facc9096c4427ff543f5fc31e6ce7b0
2018-05-16 20:23:06 +01:00
bobslept bb465f5091 Bug 1460675 - Clear old social prefs from profiles 2018-05-15 17:03:39 +02:00
Ed Lee 6497dc1292 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX

--HG--
extra : rebase_source : b3f3e2dbd568e88c0e8461fb4bfadbbdd9baaa99
2018-02-13 16:53:50 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
hemant 64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Florian Quèze 0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Dan Banner 7caa92d5d8 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
Marina Samuel 8991d65dea Bug 1403695: Send a generic health telemetry ping through Ping Centre for Activity Stream. r=k88hudson
MozReview-Commit-ID: CJGX1aihFuV

--HG--
extra : rebase_source : ea28a8ec1c16e95ce55cdd8b37e9d2c4c3abf5cd
2017-09-27 16:29:06 -04:00
Sebastian Hengst bcf3a955e6 Backed out changeset 0b56649e9680 (bug 1403695) for mass failing tests due to non-local connection. r=backout on a CLOSED TREE 2017-09-29 18:27:18 +02:00
Marina Samuel 3ef5cd05b4 Bug 1403695: Send a generic health telemetry ping through Ping Centre for Activity Stream. r=k88hudson
MozReview-Commit-ID: CJGX1aihFuV

--HG--
extra : rebase_source : 99644ce18ebdf1d2cb5e30a44de236449dcc7619
2017-09-27 16:29:06 -04:00
Felipe Gomes 8fdbde86fe Bug 1389344 - Avoid checking for distribution.ini existence on every startup. r=mkaply
We can do this check only once after an update, and cache the value until the next app update.

MozReview-Commit-ID: 1yxiKnHIAi2
2017-09-19 14:41:06 -03:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Florian Quèze 7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Mark Banner bd625e4e9f 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

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Florian Quèze 9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c 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 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend 8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Sebastian Hengst 07a93d8bfb Bug 1310297 - Remove test annotations using b2g, mulet or gonk: browser. r=RyanVM
MozReview-Commit-ID: LDNr97hKpc8

--HG--
extra : rebase_source : 64fd1735a2db892c5e2d2976667ca2374b9b0554
2016-11-05 11:29:13 +01:00
Mark Banner b2464f8fa0 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6

--HG--
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/components/syncedtabs/test/browser/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/extensions/webcompat/test/browser/.eslintrc.js
extra : rebase_source : 9026aac49953d941853022cbab3e33d7d2f2fa21
2016-10-18 12:34:35 +01:00
Mark Banner 554ec1a33f Bug 1309589 - Cleanup old loop.* preferences in profiles after Firefox Hello removal. r=mikedeboer
MozReview-Commit-ID: KNOJzUL7hRv

--HG--
extra : rebase_source : 2a36dd1ffe41e7b673ee4dc514a74c57c4b85390
2016-10-12 16:08:55 +01:00
Michael Kaply 472f566af8 Bug 1254268 - Distribution should use default prefs, regression from 1252466; r=mconnor 2016-03-08 09:39:45 -06:00
Michael Kaply 4b0b1232fb Bug 1252627 - Remove trailing space for eslint to fix bustage - CLOSED TREE 2016-03-07 09:30:39 -06:00
Michael Kaply 1dcc0095c1 Bug 1252627 - distribution defaultLocale shoudld take precedence over user agent locale; r=mixedpuppy 2016-03-07 08:48:26 -06:00
Michael Kaply 94377b6e83 Bug 782924 - Allow locale specific preferences in distribution.ini; r=mixedpuppy 2016-03-02 15:04:38 -06:00
Michael Kaply fc12ac3982 Bug 1252466 - Switch distribution.js to use Preferences.jsm; r=mixedpuppy 2016-03-01 10:58:04 -06:00
Michael Kaply 69571aa045 Bug 1251729 - Don't use eval for distribution.js; r=mixedpuppy 2016-02-29 10:47:01 -06:00
Michael Kaply ecb44c4c0c Bug 1249742 - Don't set prefs at all if overridden by lang or locale; r=mixedpuppy 2016-02-26 14:47:53 -06:00
Michael Kaply 950282d83b Bug 436564 - Add unit tests for distribution.js; r=mixedpuppy
MozReview-Commit-ID: 47aRIjly0YZ

--HG--
rename : browser/components/test/.eslintrc => browser/components/tests/browser/.eslintrc
rename : browser/components/test/browser.ini => browser/components/tests/browser/browser.ini
rename : browser/components/test/browser_bug538331.js => browser/components/tests/browser/browser_bug538331.js
extra : rebase_source : fc14d5b2b9806936ca73262cfe1660390d5af7d3
extra : amend_source : 3e9b0fdd86550782b800da6dcf02236bbde56c2d
2016-02-25 12:40:39 -06:00