Pavan Veginati
36621c7632
Bug 1470034 - Remove x-client-state and hawk auth header trace logs. r=markh
...
MozReview-Commit-ID: GJeLlJ3HajP
--HG--
extra : rebase_source : 00ae3f991478408ca2904e56290350b77c4dce7c
2018-06-29 23:54:15 +05:30
Carol Ng
ac0db61cc2
Bug 694735 - Change default Accept header to json in Sync API requests r=eoger
...
--HG--
extra : rebase_source : 5ac59d2cfcae572a1c971bd2164f03f567c5f39a
2018-05-24 15:04:11 -04:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Thom Chiovoloni
cb131c0c3a
Bug 1363581 - (part 2) Make RESTRequest's public API use promises and not callbacks r=markh
...
This also took the opportunity to clean up and modernize code it touched (mostly tests,
which needed changes but not quite as many changes as I ended up making).
MozReview-Commit-ID: ApPUTHXFprM
--HG--
extra : rebase_source : b6f44e4cbd62e2e41fd12d70e12362a4afcb4cb2
2018-03-14 20:34:50 -07:00
Thom Chiovoloni
fb54bddb43
Bug 1363581 - (part 1) Buffer RESTRequest response in memory before decoding to avoid corruption r=markh
...
MozReview-Commit-ID: BS0h4iIr91V
--HG--
extra : rebase_source : 9d98f33acd8818d4492829a21eea1f31e758d0ba
2018-03-13 15:13:56 -07:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01: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
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
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
250eef68d6
Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
...
MozReview-Commit-ID: KquBcbNhBEN
--HG--
extra : rebase_source : 172bcad2eb178092bc7d49940db61e8cb5ad6572
2017-07-22 18:55:43 -07:00
Thom Chiovoloni
0c6fcd0d50
Bug 1362099 - Make RESTRequest handle GET's where the response is > 8192 bytes and we know the charset r=markh
...
MozReview-Commit-ID: 6g8hCvr7ZbJ
--HG--
extra : rebase_source : 740e44f4cf6be265e2c04a78d4737a118f0a1b3f
2017-05-05 16:29:01 -04: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
9a0aefca79
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 48f6fc7a832e51035c04ea825f77a38cb08a7151
2017-01-10 12:08:32 -05: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
Iris Hsiao
303147b9fa
Backed out changeset afe70927277c (bug 1330014) for xpcshell test_storage_manager.js failures
2017-01-13 11:06:38 +08:00
Jared Wein
dd7ec3a99b
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 05c863e038aa1a6571500f4178c325b1b9913af9
2017-01-10 12:08:32 -05: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
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Mark Hammond
7332bc6420
Bug 1283379 - have RESTRequest log on channel redirect. r=tcsc
...
MozReview-Commit-ID: 5QakocdCw7k
--HG--
extra : rebase_source : eb6993058b80493604e98c2621fbae3634d94cae
2016-06-30 17:15:35 +10:00
Mark Hammond
306ad15e8f
Bug 1251057 - enable debug logging for rest.js requests and responses. r=adw
2016-03-10 17:20:29 +11:00
Mark Hammond
0f691c4a60
Bug 1243594 (part 3) - leave the utf-8 encoding of the payload to rest.js instead of directly in loop. r=Standard8
2016-02-26 15:46:30 +11:00
Mark Hammond
bed56e0809
Bug 1243594 (part 2) - have rest.js automatically encode the request body as utf-8. r=gfritzsche
2016-02-26 15:46:30 +11:00
Hector Zhao
0067cc1e04
Bug 1242965 - Make services/common eslintable. r=rnewman
2016-01-28 15:42:16 +08:00
Christoph Kerschbaumer
150e86404a
Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking)
2016-01-15 11:39:12 -08:00
Anup Kumar
8ae68951a8
Bug 1003204: Removed CommonUtils.exceptionStr() in services/common/ r=gfritzsche
2015-12-16 09:43:00 +01:00
Wes Kocher
d2615415f5
Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
...
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)
--HG--
extra : commitid : BinvCloSNFx
extra : amend_source : 94dfb9ebf66c6e73b1b407e93d8475724d2ae7a2
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer
28da77fee9
Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking)
2015-12-04 09:40:11 -08:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Christoph Kerschbaumer
7589c49614
Bug 1087741: Make JS callers of ios.newChannel call ios.newChannel2 in services/ (r=rnewman,hskupin)
2014-10-24 15:22:14 -07:00
Mark Hammond
296849b1e3
Bug 1121325 - improve sync logging with FxA. r=rnewman/ckarlof
2015-01-28 10:11:08 +11:00
Mark Banner
8826f41cbe
Bug 1099085 - HawkClient, HawkRequest and RESTRequest should support PATCH requests. r=ckarlof
2014-11-17 22:12:26 +00:00
Florian Quèze
528c7343e7
Bug 838458 - Fix 'rest.js - setting a property that has only a getter' warnings, r=rnewman.
2014-08-27 16:52:21 +02:00
Jed Parsons
ceb73476f1
Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
...
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-25 09:19:47 -08:00
Wes Kocher
0a15971621
Backed out changeset 96fd88a4d311 (bug 974990) for WinXP PGO xpcshell orange
...
--HG--
rename : services/common/hawkclient.js => services/common/hawk.js
rename : services/common/tests/unit/test_hawkclient.js => services/common/tests/unit/test_hawk.js
2014-02-24 17:21:29 -08:00
Jed Parsons
728329a753
Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
...
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-20 18:04:44 -08:00
Sam Penrose
b431a8c4a8
Bug 955953 - FxAccountsClient should set Accept-Language header on all server calls. r=rnewman
2014-02-16 08:39:05 -08:00
Chris Karlof
a7ca3ed75d
Bug 966560 - fix bugs with time skew fix in bug 957863; r=jedp
2014-01-31 16:43:36 -08:00
Ryan VanderMeulen
da7b749003
Backed out changeset cc1bac015920 (bug 966560) for xpcshell failures.
2014-01-31 21:00:47 -05:00
Chris Karlof
df0a10fece
Bug 966560: fix bugs with time skew fix in bug 957863, r=jedp
2014-01-31 16:43:36 -08:00
Jed Parsons
7a1e060cc8
Bug 957863 - Use FxA auth clock skew in hawk, jwcrypto, and sync. r=warner, r=rnewman
2014-01-23 18:04:38 -08:00
Blair McBride
89d1cbef27
Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
...
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
Nick Alexander
0481627d39
Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin
2013-04-15 12:45:37 -07:00
Gregory Szorc
5758dc5c47
Bug 836177 - Temporarily merge more JSMs to mitigate compartment overhead; r=rnewman
...
As with bug 834936, this is meant to be temporary until zones land and
we have decent JSM overhead levels.
2013-01-30 07:07:22 -08:00