Commit Graph

66 Commits

Author SHA1 Message Date
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Mark Banner
96b3386f5b Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 85c9b07892778dfec5ab4ccc70cc4fb7119ee4f3
2018-07-25 09:13:11 +01:00
Narcis Beleuzu
d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
fba7b63903 Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 89471677bab059efe9d9cb8a48b2cd557bd41e33
2018-07-25 09:13:11 +01:00
Edouard Oger
6ebb7fced3 Bug 1466933 - Implement FxA commands. r=markh,rfkelly
MozReview-Commit-ID: EXLO3vnu9vB

--HG--
extra : rebase_source : 75660e909647ef0dd4f56326d38fbe4c1e5f7716
2018-05-30 17:23:56 -04:00
Edouard Oger
578b669682 Bug 1465638 - Do not send capabilities in FxA device registration. r=rfkelly
MozReview-Commit-ID: Cf5yk7nSDQE

--HG--
extra : rebase_source : a325f5ee260ec97b31873dda1d62bd668fc6c9a8
2018-05-31 11:38:06 -04:00
Edouard Oger
783ac499bc Bug 1442133 - FxA messages client implementation. r=markh,tcsc
MozReview-Commit-ID: EWYlZLdyUA0

--HG--
extra : rebase_source : ac540a5d1c26067c95314d07a32db8994f3dcee6
2018-03-07 13:38:12 -05:00
Edouard Oger
d4d4e67f2f Bug 1448165 p1 - Simplify and factorize FxAccounts signout mechanism. r=markh
Since FxA's /session/destroy now also removes the current device registration,
there's no need to differenciate signouts w/ and w/o device registration.

MozReview-Commit-ID: 3lHV3JC1NU6

--HG--
extra : rebase_source : 3d5e7f456cfb3daf3c069b78a3c1c8182c6151ee
2018-03-22 11:54:38 -04: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
Edouard Oger
a1f2f47f82 Bug 1363412 - Notify other clients when uploading the local clients record for the first time. r=markh
MozReview-Commit-ID: Ldc3Jrj8RhV

--HG--
extra : rebase_source : 44bdeaa962ddbcb748f9e5a01871fd2ff7d6a676
2017-06-12 14:51:17 -04:00
Edouard Oger
1df337c9ce Bug 1361572 - Remove Task.jsm/Promise.jsm from services/. r=kitcambridge
MozReview-Commit-ID: BBIkpIkWIYc

--HG--
extra : rebase_source : a0f10b07bad20789e2d1c2c2bca133b32bf671aa
2017-05-02 19:29:33 -04:00
Jared Wein
49ca473486 Bug 1330791 - Enable the no-unreachable rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: e60hfjiUmS

--HG--
extra : rebase_source : 3a8687fcfe76687581dd8a43f3e7fc7089c5553a
2017-01-12 18:18:31 -05:00
Wes Kocher
20dc006d88 Backed out 14 changesets (bug 1330791) for various android failures a=backout
Backed out changeset eada8de7256f (bug 1330791)
Backed out changeset a3c656a9f3ca (bug 1330791)
Backed out changeset e0cbc754e841 (bug 1330791)
Backed out changeset 49d8016fab12 (bug 1330791)
Backed out changeset 53d4b83ccd22 (bug 1330791)
Backed out changeset b35cbfcd801f (bug 1330791)
Backed out changeset 25a6356de622 (bug 1330791)
Backed out changeset 46f9c247550d (bug 1330791)
Backed out changeset ef7356099bd3 (bug 1330791)
Backed out changeset a5fe483288db (bug 1330791)
Backed out changeset 4902107b7568 (bug 1330791)
Backed out changeset 5b2b2be2e389 (bug 1330791)
Backed out changeset 610ec89e98bb (bug 1330791)
Backed out changeset 631adda26a21 (bug 1330791)

MozReview-Commit-ID: GGUFW29U3TL
2017-01-17 17:06:36 -08:00
Jared Wein
e4956c0ce7 Bug 1330791 - Enable the no-unreachable rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: e60hfjiUmS

--HG--
extra : rebase_source : 5d6d804683d45c7e08bac19ffa7d04a56c298adb
2017-01-12 18:18:31 -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
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
Thom Chiovoloni
ae63800553 Bug 1249520 - Add client support for a fxa-client-configuration endpoint r=markh
MozReview-Commit-ID: 4jTl1yIduKG

--HG--
extra : rebase_source : 0df65d2841f61fa3265453d3eff52a67d76c7276
2016-09-21 15:07:28 -04:00
Edouard Oger
b55da91b9a Bug 1289932 - Send/Handle push messages for send tab to device. r=markh
MozReview-Commit-ID: WD4XzRtl86

--HG--
extra : rebase_source : 418c96ee8a3311c9724862a3385749ddddd339ce
2016-08-02 10:09:30 -07:00
Edouard Oger
1593bd1fc0 Bug 1249619 - Handle FxA password reset/changed push notifications. r=markh
MozReview-Commit-ID: 4ZtUs80iPXp

--HG--
extra : transplant_source : %13%D0%08%D3%84%FC%2B%A1u%95%1C%90%80%21%F7%05_V%01%87
2016-07-29 20:51:16 -07:00
Edouard Oger
6ee8fdf88d Bug 1267760 - Send push public key and auth secret when registering/updating a device. r=kitcambridge
MozReview-Commit-ID: BVwaijvSsLL
2016-05-24 16:19:47 -07:00
Carsten "Tomcat" Book
a7f3bc1ed9 Backed out changeset 7520b940afc8 (bug 1267760) for eslint failure 2016-06-01 16:12:50 +02:00
Edouard Oger
670ef44c8b Bug 1267760 - Send push public key and auth secret when registering/updating a device. r=kitcambridge
MozReview-Commit-ID: BVwaijvSsLL

--HG--
extra : transplant_source : %E8%8DB%AF%FD%3F%FCl%C6%1CN%1C-%EAg%16%5E%93-%8B
2016-05-24 16:19:47 -07:00
Kit Cambridge
98c52dc9eb Back out changeset 678d2aa3a3a6 (bug 1267760) for breaking FxA device registration. a=backout
MozReview-Commit-ID: H1S0WJJ7QvJ

--HG--
extra : amend_source : 990b1e0196c5aabedf3a499701767795ced3d8f0
2016-04-28 11:24:35 -07:00
Edouard Oger
dfdc90632d Bug 1267760 - Send push public key and auth secret when registering/updating a device. r=kitcambridge
MozReview-Commit-ID: KGd2jl6rHiD
2016-04-27 17:00:17 -07:00
Mark Hammond
0c159ab93d Bug 1261181 - Remove telemetry probes set to expire in 48 from Sync and FxA. r=kitcambridge 2016-03-31 20:35:00 -04:00
vladikoff
61c921b8e2 Bug 1249029 - Add quality metrics for FxA Verification via Push r=markh
MozReview-Commit-ID: 6bCjSZt85Kw

--HG--
extra : rebase_source : 7d52b9b5e171851797c6940a235d5970c0679e77
2016-03-15 20:28:50 -04:00
vladikoff
5ceebef356 Bug 1247786 - Add push subscription to device registration r=kitcambridge,markh
MozReview-Commit-ID: 40Tt8sJPYrr

--HG--
extra : rebase_source : e80d3230a7a38e2b28c736cb0188c60be1d6a871
2016-03-07 00:00:34 -05:00
Mark Hammond
9719025fd3 Bug 1243594 (part 1) - remove misleading references to utf8 in Credentials.jsm. r=rfkelly 2016-02-26 15:46:30 +11:00
Kit Cambridge
6b27f0f9b2 Bug 1233298 - Remove query params from the FXA_HAWK_ERRORS probe. r=markh
--HG--
extra : commitid : EKdiv4nJq1p
extra : rebase_source : 13b57e2a3b2eefe1920b2a850aa05cdb0d820ff0
2016-01-14 14:32:46 -07:00
Phil Booth
8a5646364e Bug 1227527 - Implement basic FxA device registration. r=markh 2016-01-13 05:55:00 +01:00
Mark Hammond
ad3ae4193a Bug 1236383 (part 1) - remove and rework some Sync/FxA telemetry probes. r=gfritzsche/kitcambridge 2016-01-12 12:21:27 +11:00
Fernando Jimenez
a2be7792f3 Bug 1215509 - Allow signUp in FxAccountsClient to use ?key=true. r=markh 2015-10-22 16:18:17 +08:00
Mark Hammond
639d6c6d42 Bug 1207840 - add '?service=sync' to the URL used when disconnecting from Sync. r=zaach 2015-09-30 09:34:37 +10:00
Kit Cambridge
053d626c80 Bug 1124428 - Add telemetry probes for FxA-related authentication issues. r=markh,vladan
--HG--
extra : commitid : AgENo3CiQTo
extra : rebase_source : 502d7dd6ac9e0931119df9ee26ab5c10fe7aa037
2015-09-15 18:18:04 -07:00
Mark Hammond
5a5728ae2f Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof 2015-01-28 10:11:08 +11:00
Mark Banner
59a1c3ac3e Bug 1020859 Part 1 - Make HawkClient return all the response details for a request, and make deriveHawkCredentials common code. r=jparsons 2014-06-18 10:42:15 +01:00
Sam Penrose
3765b1483d Bug 1004319 - Handle server-side account changes in Gecko. r=jedp 2014-06-06 08:54:27 -07:00
Sam Penrose
2a838b8dff Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
Mark Hammond
b608d2c829 Bug 990834 (part 2) - Add support/tweak retry and backoff header support to hawk and tokenserverclient. r=rnewman 2014-04-10 12:08:19 +10:00
Henrik Skupin
3f627fb88e Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
Henrik Skupin
3fb8a3bb48 Bug 981921 - Allow signin in FxAccountsClient to use '?keys=true'. r=ckarlof
--HG--
extra : rebase_source : 37b0935a103c578895813e1411cffdde0953552e
2014-03-12 22:50:58 +01:00