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
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
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
Thom Chiovoloni
25d3c801bc
Bug 1425960 - Optimize sync preference usage r=markh
...
MozReview-Commit-ID: AMwkvF7Dy3G
--HG--
extra : rebase_source : f44ea9674ad0fd45191220ec6845aa85f68efa10
2017-12-20 12:36:18 -05:00
Mark Hammond
57f9284cef
Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
...
MozReview-Commit-ID: CQ1vhahnQbc
--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Edouard Oger
403ad27bae
Bug 1420802 - Remove NetworkLinkService from offline check. r=tcsc
...
Summary: Remove NetworkLinkService from offline check.
Reviewers: tcsc
Reviewed By: tcsc
Bug #: 1420802
Differential Revision: https://phabricator.services.mozilla.com/D300
2017-11-29 15:15:28 -05:00
Mark Hammond
4b66d38dd6
Bug 1420810 - record why we are syncing for most syncs initiated by the scheduler. r=eoger
...
MozReview-Commit-ID: 1ntqG5yQi7q
--HG--
extra : rebase_source : 73b479ac7e602f5f491f63939a4425af17d6ce25
2017-11-27 17:32:05 +11:00
Edouard Oger
9f071e2083
Bug 1409534 - Replace Resource impl by fetch. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: 5mmVeHeMQKf
--HG--
extra : rebase_source : 84c20e3b90b5bed43e511158270761e2e1da6b15
2017-11-06 16:24:40 -05:00
Edouard Oger
438ca97ce7
Bug 1419990 - Only sync the tabs collection on sleep if there are changes. r=markh
...
MozReview-Commit-ID: GC0KMmQPqqD
--HG--
extra : rebase_source : 2039c7f644b3510dda07839c1e561786ad8c0ba1
2017-11-23 11:24:41 -05:00
Edouard Oger
0154c0f443
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 93812879d3ea19042356e51672f7f464e30e9ee5
2017-11-10 14:09:44 -05:00
Cosmin Sabou
959009f1a8
Backed out changeset 23fbfd83e957 (bug 1416320) for ESlint failure at gecko/services/sync/modules/policies.js:558:71 on a CLOSED TREE
2017-11-21 07:26:51 +02:00
Edouard Oger
ab35b46c98
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 1910ac25084f6a8c37a6d21accf17da974d56493
2017-11-10 14:09:44 -05:00
Edouard Oger
afa6330a25
Bug 1416322 - Wait until the network is back up to sync after waking-up from sleep. r=markh
...
MozReview-Commit-ID: 2vzmj3UkvtD
--HG--
extra : rebase_source : a152684365627cf1ea68efe10f5e27ad15577135
2017-11-16 13:12:31 -05:00
Edouard Oger
fbd7ca1890
Bug 1416807 - Don't schedule syncs while we're behind to a captive portal. r=markh
...
MozReview-Commit-ID: 2CrO3CfKgC3
--HG--
extra : rebase_source : 460fb20172e325a154a4848e6a5ed0bacefd4b77
2017-11-15 16:01:48 -05:00
Edouard Oger
8a3dc70885
Bug 1416321 - Do a sync after we successfully connect to a captive portal. r=markh
...
MozReview-Commit-ID: HuXyJ8IrNwA
--HG--
extra : rebase_source : b1171a1235011d5393dcd90a950b55320302c254
2017-11-10 14:55:19 -05:00
Thom Chiovoloni
edeaf1bc14
Bug 1415012
- Don't trigger a resync if the previous sync wasn't completely successful r=kitcambridge
...
MozReview-Commit-ID: DcNsFUxXR1O
--HG--
extra : rebase_source : 2632aa8d6db8e9e101e949c237b559015444f808
2017-11-06 20:56:57 -05:00
Mark Banner
4de6bf22b1
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +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
Nicolas Ouellet-Payeur
5a0bb50ea8
Bug 1392148 - Remove aliases to CommonUtils in util.js r=markh
...
MozReview-Commit-ID: 1fv6AN0TMNW
--HG--
extra : rebase_source : 083c73e50bfdb2dd121aa483e5aa53ae0e35768d
2017-08-24 22:41:44 -07:00
Mark Hammond
6b5f784403
Bug 1384818 - flush sync log files on sync reset. r=eoger
...
MozReview-Commit-ID: H6CkvHGxAmx
--HG--
extra : rebase_source : 53bede19ec7766c91c30324668dcca8d11f64197
2017-07-27 14:57:47 +10:00
Sebastian Hengst
99daef93ea
Backed out changeset face8d3f9fb9 (bug 1384818) for frequently failing xpcshell's services/sync/tests/unit/test_errorhandler_2.js on Linux. r=backout
2017-07-28 10:48:07 +02:00
Mark Hammond
4f86008efc
Bug 1384818 - flush sync log files on sync reset. r=eoger
...
MozReview-Commit-ID: H6CkvHGxAmx
--HG--
extra : rebase_source : 4fd55ac857c225e0a7de35f0049e873cc362b2db
2017-07-27 14:57:47 +10:00
Edouard Oger
0943c36687
Bug 1210296 part 1 - Remove most event loop spinning from Sync. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: 9RpgSgXykWt
--HG--
extra : rebase_source : 834df5b9b38a8332885a6c488f64215b550cad33
2017-06-05 18:50:07 -04:00
Mark Hammond
71a24b858a
Bug 1366994 - prevent appDisabled addons from hanging sync. r=tcsc
...
MozReview-Commit-ID: 4RRCPlwUZrG
--HG--
extra : rebase_source : 8ab03af402dc15432252b74a120da286b810302f
2017-05-26 12:42:10 +10:00
Thom Chiovoloni
1e07d66113
Bug 1367543 - Make sync's TPS tests handle cases where resyncs are triggered r=kitcambridge
...
MozReview-Commit-ID: 4owlGyLw5jU
--HG--
extra : rebase_source : bdfca8806ed76c2398c845880f4b7c65bd3dffd3
2017-05-24 16:16:23 -04:00
Kit Cambridge
2401fa0477
Bug 1335891 - Trigger another sync if tracked items have changed during the last sync. r=markh
...
MozReview-Commit-ID: 7EcIX7QrsN4
--HG--
extra : rebase_source : 41f0886f5e40b9b8aaaebc5ebaa40a247bba13ef
2017-05-10 19:21:16 -07:00
Edouard Oger
b80261a3ec
Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
...
MozReview-Commit-ID: 8na204K9cXp
--HG--
extra : rebase_source : 96e7738aa6612cf67543d50053f50c2bccf1ab7e
2017-05-02 16:57:37 -04:00
Edouard Oger
abba8c5b31
Bug 1358648 part 2 - Remove util.js Svc.{DefaultPrefs,Session,Idle, FormHistory} and Str. r=markh
...
MozReview-Commit-ID: Jc1th8Snvhv
--HG--
extra : rebase_source : dd950a5d7bb0f2cb2ea4f32c7b61eb2a15ae327d
2017-05-02 18:30:23 -04:00
tiago
c05723ef0c
Bug 986501 - Avoid unnecessary compartments on Sync startup r=markh
...
MozReview-Commit-ID: 8Rr3JD4dfVy
--HG--
extra : rebase_source : b18f24229bbd1caf80d9f175a79c1fdb0aeccd0d
2017-04-13 20:36:08 -03:00
Thom Chiovoloni
3c9fc16ebc
Bug 1345744 - Ensure an error log is written when sync (newly) fails to apply records. r=markh
...
MozReview-Commit-ID: 586faUBtX6n
--HG--
extra : rebase_source : 7e1d0eab656838f3718260a11ef8cd2d9b501d17
2017-04-04 14:18:09 -04:00
Mark Hammond
f02fca824e
Bug 1310065 - use more reliable preferences for calculating the client count in the sync scheduler. r=eoger
...
This patch switches to using preferences written by the clients engine to
determine the number of clients so it's correct before the first sync for
a browser session.
It also fixes another bug I discovered - if a mobile device dropped from the
client list, the preference for the number of mobile devices would remain at
1 rather than resetting to zero.
MozReview-Commit-ID: IPythSQcorx
--HG--
extra : rebase_source : 4ce465e3958d037f90312553a0c353cdc161c0fe
2017-01-25 18:11:05 +11: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
bb525e4654
Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
...
MozReview-Commit-ID: iD4OJv436i
2017-01-27 13:30:47 -05:00
Wes Kocher
c3cc3b6407
Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)
MozReview-Commit-ID: 2XBNsd8JrZL
--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Edouard Oger
49552f7919
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
--HG--
extra : rebase_source : ec10c24400afa4b1c1fd3840f31a9d57d498ec8a
2017-01-13 15:02:21 -05:00
Edouard Oger
0c915a6f46
Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
...
MozReview-Commit-ID: iD4OJv436i
--HG--
extra : rebase_source : 1653284a3b2e014719a7eb37588f99df868e2060
2017-01-10 13:47:24 -05:00
Jared Wein
43bac26d30
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Jared Wein
65605f286e
Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
...
MozReview-Commit-ID: EjyAssqiQk8
--HG--
extra : rebase_source : cbfc8d4474b6c3d46eb21374e33fd3341403444f
2017-01-10 12:09:02 -05:00
Iris Hsiao
55313b4bc9
Backed out changeset 7e0a0bd74199 (bug 1330014)
2017-01-13 11:06:43 +08:00
Jared Wein
81cb5e57b9
Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
...
MozReview-Commit-ID: EjyAssqiQk8
--HG--
extra : rebase_source : d783829bc7fced3044d0d076c4786a6957d29bb6
2017-01-10 12:09:02 -05:00
Kris Maglione
22eba76d86
Bug 987512: Part 5 - Remove manual AddonManager promise wrappers. r=rhelmer
...
MozReview-Commit-ID: LrEiGbQGrt6
--HG--
extra : rebase_source : 38971f7242261e5d8b11d586f6eb033b6364c6cf
extra : histedit_source : 0b9403a97d3f3092b8991e8e6af5095b898dd8c3
2016-12-15 12:03:24 -10:00
Mark Hammond
9c1b1b298b
Bug 1317587 - don't start scheduled sync after shutdown. r=rnewman
...
MozReview-Commit-ID: GSyWAUa1qyr
--HG--
extra : rebase_source : 45d0dfd5c686803f017230ab6152d0204a3d4c8e
2016-11-15 15:28:52 +11:00
Kit Cambridge
5ea0848791
Bug 1274108 - Add a `PlacesSyncUtils` module. r=markh
...
MozReview-Commit-ID: LTVr3si0zrB
--HG--
extra : rebase_source : cabb31bd5a3d3438c1d7e357568733a55843757f
2016-08-10 12:54:45 -07:00
Mark Hammond
ce81545035
Bug 1288584
- don't allow prefs to specify a sync interval that's less than 60 seconds. r=rnewman
...
MozReview-Commit-ID: CHdBsC6cdOE
2016-07-28 11:46:45 +10:00
Thom Chiovoloni
45855b9236
Bug 1263280 - Dump a list of addons currently installed when writing the sync error log r=markh
...
MozReview-Commit-ID: KudJLUYWv1N
--HG--
extra : transplant_source : %98%7F%C9%B6l%0C%84%B0%8B%ACH%23%CC%FF%E6%04A%02-%8C
2016-05-06 14:35:40 -04:00
Mark Hammond
722fb8db38
Bug 1266640 - Avoid persisting the clusterURL and forget other cached ones when it changes. r=rnewman
...
MozReview-Commit-ID: JBmiZtc20yt
2016-05-16 17:52:16 +10:00