Commit Graph

479 Commits

Author SHA1 Message Date
Shane Tomlinson
f3248efb0d Fix the private browsing mode check in FxAccountsWebChannel.jsm (bug 1378766) r=eoger,markh
The private browsing mode check reached into the sendingContext's browser's docShell
for it's check, the Law of Demeter was shattered.

PrivateBrowsingUtils.jsm provides all the functionality needed for the check,
just call PrivateBrowsingUtils.isBrowserPrivate with the sendingContext's browser.

MozReview-Commit-ID: DRIU1fy94ml
***
Bug 1378766 - Remove the `sendingContext.browser` defined check

MozReview-Commit-ID: GWFFggOoItP

--HG--
extra : rebase_source : 1c99ee2ea2cceee185ba20ff54e6e67f86f10766
2017-07-20 10:35:47 +01:00
Mark Hammond
0b5dba6e10 Bug 1378669 - blank tab may be opened on FxA 'collection changed' notification. r=eoger
MozReview-Commit-ID: Lm3iCVO6slq

--HG--
extra : rebase_source : d9ffb315d6864d000712f47055984aa00cef01ad
2017-07-06 16:31:57 +10:00
Princi Vershwal
75404533d2 Bug 1369834 - Add Firefox Accounts Verify Login Push Notification. r=eoger 2017-06-23 02:34:07 +05:30
Edouard Oger
58f16ee440 Bug 1374501 - Allow extra sync engines to be activited using FxA Web Channels. r=markh,stomlinson
MozReview-Commit-ID: HykDad81Ifh

--HG--
extra : rebase_source : d07f048b5f96e7fa9b1fc7130b4f518ac5527075
2017-06-21 13:55:05 -04:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Andrew McCreight
3e60ae3dd8 Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code. r=markh
There are a few places in services/ tests that import btoa and atob,
but this is not necessary, because those are both defined on the
XPCShell global (by glob_functions in XPCShellImpl.cpp). It sounds
like it didn't work at some point on B2G (see bug 937114) but that
isn't relevant any more. I want to fix this because the way these
properties are imported will break with shared JSM globals.

MozReview-Commit-ID: HoxqIS98p7B

--HG--
extra : rebase_source : 7800baee8ebc5e3ab3f52a62e30e5cde8d19876b
2017-06-21 09:56:57 -07:00
Paolo Amadini
375f5f7210 Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr

--HG--
extra : rebase_source : 1b575a89ff3f0dc7683f1c25bde12de6859c17be
extra : source : eb61cf8f77d22f0cf026056615a475c2e04f932a
2017-06-16 11:16:00 +01:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Edouard Oger
b599411285 Bug 1369119 - Refresh known stale devices list on FxA device disconnect. r=markh
MozReview-Commit-ID: A2iqas0kP20

--HG--
extra : rebase_source : 15db886e4751885e173a55c561df7ea1a3b2871b
2017-06-06 14:28:00 -04: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
f8e13dd94c Bug 1353645 - Record account verification status determination method telemetry. r=bsmedberg,gfritzsche,markh
MozReview-Commit-ID: GETlknx8Fse

--HG--
extra : rebase_source : b56da3d0309b91ee7d908e9246d7921ebd7ed03d
2017-05-16 16:59:51 -04:00
udara
d53c05ca28 Bug 1367525 - Remove extra error logging during device disconnect. r=eoger
MozReview-Commit-ID: JgFvBlGwsxZ

--HG--
extra : rebase_source : ef9cfb41112d8974f8e1ef5a138e4cfddfdc6386
2017-05-24 15:19:35 -04:00
Edouard Oger
c4e6a8f382 Bug 1365375 - Disconnect Sync on account destroyed. r=markh
MozReview-Commit-ID: EVySp2JOgsT

--HG--
extra : rebase_source : e60612d8dedcf46170cf58f47bde2c979ab99d3f
2017-05-23 19:22:49 -04:00
Shane Tomlinson
7a827756f9 Bug 1308038 - Add handshake capability to share state with FxA. r=markh, r=rkelly 2017-02-02 09:16:54 +00:00
Edouard Oger
b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -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
Sebastian Hengst
18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Edouard Oger
c11e66021d Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : aa6cb209d312c6ef3f45589b0fd8fa8a39c612e3
2017-04-18 14:15:43 -04:00
Dan Banner
f2a6a685fe Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO

--HG--
extra : rebase_source : 8e4c319c7fb8b727ac0193e5dd78411e1ec2785c
2017-04-27 17:24:18 +01:00
Carsten "Tomcat" Book
8cb9279791 Backed out changeset e6177d883f37 (bug 1359540) for eslint failures 2017-05-02 09:25:45 +02:00
Dan Banner
0c2aa823c9 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO

--HG--
extra : rebase_source : 3d8d878810c60dc339e196eaac0215f9f72cc829
2017-04-27 17:24:18 +01:00
Edouard Oger
1b936ebd82 Bug 1356112 - Set identity.fxaccounts.settings.devices.uri when using the FxA well-known configuration. r=tcsc
MozReview-Commit-ID: IJaMuIorXHg

--HG--
extra : rebase_source : 9dc1e723632c1821af5299e6f91c54471c4855f6
2017-04-20 13:57:23 -04:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Edouard Oger
d09f746bfb Bug 1345955 - Update FxA profile when push notification received. r=markh
MozReview-Commit-ID: 4LL6F5Qnnj4

--HG--
extra : rebase_source : 00bc6a445d22fdfb626e7af6ad62fb750f444460
2017-03-16 17:15:18 -04:00
Florian Queze
0ac961905a Bug 1351659 - Use jwcrypto.jsm with the resource://services-crypto prefix, r=markh. 2017-03-30 09:18:45 +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
Edouard Oger
a014194719 Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : d8e1bb4f52723071d395db3ac3c896096ca6df2a
2017-03-10 20:14:51 -05:00
Wes Kocher
7c2b508df2 Backed out changeset cfe8ab5f1c08 (bug 1269277) for failures in browser_aboutAccounts.js a=backout
MozReview-Commit-ID: FgcSoHPCnoH
2017-03-10 16:55:36 -08:00
Edouard Oger
812a782093 Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : e5ace2f6dfd828c14edfd3f3d84da2b5043361b2
2017-03-09 15:53:08 -05:00
Wes Kocher
4894923a57 Backed out changeset 805da5d5567f (bug 1269277) for failures in browser_device_connected.js and browser_aboutAccounts.js a=backout
MozReview-Commit-ID: 1xafqaoxNWG
2017-03-10 12:31:13 -08:00
Edouard Oger
a28ba6f4da Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : 048e6b5ede97b4908a65997cb674153c5e34c21d
2017-03-09 15:53:08 -05:00
Wes Kocher
65140a44e3 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Edouard Oger
682b54d712 Bug 1339861 - Mark Sync clients as stale if not in the FxA device list. r=markh
MozReview-Commit-ID: 84Tl3QTHInO

--HG--
extra : rebase_source : c05a5462be71b9eb0bc1bddc6a6a74f1b13088b7
2017-02-28 16:35:01 -05:00
Florian Quèze
7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Joel Maher
5708b8f058 Bug 1345556 - add BUG_COMPONENT to services/* files. r=rfkelly, kit
MozReview-Commit-ID: 3QzgxUDL5xa
2017-03-09 05:33:31 -05:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Mark Hammond
cd73a70071 Bug 1340357 - remove all special eslint rules in services/. r=eoger
MozReview-Commit-ID: 6zMOBoWLOhJ

--HG--
extra : rebase_source : cf546abd9a52230746c0c05f7bb716cae42815bf
2017-02-17 12:34:45 +11:00
Edouard Oger
1f7391754c Bug 1337244 - Delete previous device registration when setting-up a new FxA user. r=markh
MozReview-Commit-ID: wp4OJ1nwKH

--HG--
extra : rebase_source : 31cc6e6c40c9f0b0e6efa76032a5ae5c75281306
2017-02-14 20:07:36 +01:00
Wes Kocher
6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Mayank Srivastav
ccf5a4ca8d Bug 1333431 - Fixed ERROR_PARSE thrown on 304 response when fetching profile. r=eoger
MozReview-Commit-ID: KJPvZeU10xP

--HG--
extra : rebase_source : faaa2f7bc49d0aefd85e0f0846076290f71998c8
2017-02-07 23:25:01 +05:30
Edouard Oger
809b455084 Bug 1332858 - Alternate wording for Sync new device connected notification when device name missing. r=markh
MozReview-Commit-ID: DdwrRGjwI3

--HG--
extra : rebase_source : 9740cd1fb21fd411c73d8a29e5c3ae31bf11bcb0
2017-02-02 15:49:03 -05:00
stefanh@inbox.com
3e60e56c26 Bug 1333485 - Remove LogUtils.jsm from services/crypto/modules/. r=markh. 2017-02-01 20:55:09 +01:00
Mark Banner
8cf0d4744c Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Mark Banner
df3fdf012f Bug 1333044 - Fix no-shadow issues in services/. r=markh
MozReview-Commit-ID: KqYfpjdR7QS

--HG--
extra : rebase_source : b93a673073045ddfec6e4b4b347b4e8494425310
2017-01-23 14:07:55 +00:00
Mark Banner
2ecc79b536 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : c4b19fe3714b19b445011ae1c413ca0e624cb46e
2017-01-17 12:25:43 +00:00
Edouard Oger
f5eb6dc494 Bug 1296767 part 7 - Remove non-in-content legacy Sync pref screens. r=markh
MozReview-Commit-ID: LK9akz4chd1
2017-01-27 13:31:57 -05:00
Edouard Oger
ea99e4442d Bug 1296767 part 6 - Remove startOverKeepIdentity pref. r=markh
MozReview-Commit-ID: 7YDYTCRiKZa
2017-01-27 13:30:48 -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
b41402ea7b Bug 1296767 part 7 - Remove non-in-content legacy Sync pref screens. r=markh
MozReview-Commit-ID: LK9akz4chd1

--HG--
extra : rebase_source : b7113c37a486f88ae1138c54e314bb0ff07ef1af
2017-01-18 17:39:11 -05:00
Edouard Oger
17b83cde16 Bug 1296767 part 6 - Remove startOverKeepIdentity pref. r=markh
MozReview-Commit-ID: 7YDYTCRiKZa

--HG--
extra : rebase_source : 41574e70bd92ee2abe6f92a799c57e1f5910f8b4
2017-01-18 16:30:38 -05:00
Carsten "Tomcat" Book
aaafcb0f0a Backed out changeset f8b29e24280b (bug 1333044) for perma failures in test_load_modules.js
--HG--
extra : rebase_source : ef649da0bb1acaabcb55a42e5df4164f1cf8b6d4
2017-01-25 15:29:53 +01:00
Carsten "Tomcat" Book
f868542f9b Backed out changeset 06a658a93aab (bug 1333044)
--HG--
extra : rebase_source : 554fed79a1c36ce418ab95952cde9669a3297cb6
2017-01-25 15:29:35 +01:00
Carsten "Tomcat" Book
a6178c3af9 Backed out changeset 9c6b98edac72 (bug 1333044)
--HG--
extra : rebase_source : e81a05f7fa7ffca19ced3e0aca62ada7bde935b2
2017-01-25 15:29:33 +01:00
Mark Banner
eb102a103e Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 19e5895756579ecf88d5be70e8aaaf8c3166ada1
2017-01-23 15:15:05 +00:00
Mark Banner
caa2f51ce1 Bug 1333044 - Fix no-shadow issues in services/. r=markh
MozReview-Commit-ID: KqYfpjdR7QS

--HG--
extra : rebase_source : 32511d0a015fe57f0b8262b0faa28dbd4bd7a623
2017-01-23 14:07:55 +00:00
Mark Banner
33c00194c2 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : 9b5edc75897af35754433b6fccfcecf83293c62b
2017-01-17 12:25:43 +00:00
Phil Ringnalda
bf98cd4315 Merge m-i to m-c, a=merge 2017-01-24 18:53:29 -08:00
stefanh@inbox.com
caff960805 Bug 1313045 - Remove toolkit/identity, part2: Move used files/bits to services/crypto and remove remaining files in toolkit/identity. r=MattN.
--HG--
rename : toolkit/identity/IdentityCryptoService.cpp => services/crypto/component/IdentityCryptoService.cpp
rename : toolkit/identity/nsIIdentityCryptoService.idl => services/crypto/component/nsIIdentityCryptoService.idl
rename : toolkit/identity/LogUtils.jsm => services/crypto/modules/LogUtils.jsm
rename : toolkit/identity/jwcrypto.jsm => services/crypto/modules/jwcrypto.jsm
rename : toolkit/identity/tests/unit/test_crypto_service.js => services/crypto/tests/unit/test_crypto_service.js
rename : toolkit/identity/tests/unit/test_jwcrypto.js => services/crypto/tests/unit/test_jwcrypto.js
2017-01-23 20:43:35 +01:00
stefanh@inbox.com
f28e3f1e0d Bug 1313045 - Remove toolkit/identity, part1: Remove unneeded files/bits. r=MattN. 2017-01-23 20:20:54 +01:00
Edouard Oger
d22c7ab8ed Bug 1332993 - Do not write logs on FxA profile 304 response. r=markh
MozReview-Commit-ID: Hf5d6rz8HNQ

--HG--
extra : rebase_source : f51a3a9b1fb0c4f5e6c56114e289f67ee99b315f
2017-01-23 11:25:04 -05:00
Sebastian Hengst
461878052c Backed out changeset ccc602619a07 (bug 1332993) for failing xpcshell test test_accounts.js at least on Linux. r=backout on a CLOSED TREE 2017-01-24 18:34:08 +01:00
Edouard Oger
274682c188 Bug 1332993 - Do not write logs on FxA profile 304 response. r=markh
MozReview-Commit-ID: Hf5d6rz8HNQ

--HG--
extra : rebase_source : 5861ee29ff229b44f999119d95a94ba673f22e2e
2017-01-23 11:25:04 -05:00
Valentin Gosu
fd0c022031 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Phil Ringnalda
68b37a46e8 Merge m-i to m-c, a=merge 2017-01-20 19:00:04 -08: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
Jared Wein
ac53e1b8be Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: 7Os4uZQCDox

--HG--
extra : rebase_source : 2a1d9ef6fb6510f7f3b02b6c727bc706e56637b0
2017-01-12 18:14:54 -05:00
Jared Wein
d019dbcaa8 Bug 1330791 - Enable the no-useless-call eslint rule for /services and fix associated errors. r=markh
MozReview-Commit-ID: Ixd7jk5G5CB

--HG--
extra : rebase_source : 0f5817cb03f26c28d401706069ba9aa23f6acce3
2017-01-12 18:08:10 -05:00
Jared Wein
7cb8b041fe Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb

--HG--
extra : rebase_source : c6abc288124c1c47480cc73db8294195d8832fa2
2017-01-12 18:02:08 -05:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze
59ca1bd6d8 Bug 1330821 - Remove unused files from services/fxaccounts/, r=markh. 2017-01-20 12:50:11 +01:00
Edouard Oger
12b3049ea8 Bug 1323102 - Cache the FxA profile. r=markh
MozReview-Commit-ID: Fzw8Tg6WoM0

--HG--
extra : rebase_source : e910f334870ff54ae1adc398980c8e94c40f3ffa
2017-01-09 15:56:28 -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
d3dba448bd Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: 7Os4uZQCDox

--HG--
extra : rebase_source : 8d14b02c97b8024268b5625a633393e75efed117
2017-01-12 18:14:54 -05:00
Jared Wein
e1a3fb1d47 Bug 1330791 - Enable the no-useless-call eslint rule for /services and fix associated errors. r=markh
MozReview-Commit-ID: Ixd7jk5G5CB

--HG--
extra : rebase_source : a4c226744a30df49d408a8c904fefa27b1439388
2017-01-12 18:08:10 -05:00
Jared Wein
42349d27b4 Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb

--HG--
extra : rebase_source : 24dc56342d6b1a95df64c0c7c5a1819344cfe603
2017-01-12 18:02:08 -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
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
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00: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
Edouard Oger
cc7fbb3df8 Bug 1201335 - Display notification when a new device is added to Sync account. r=markh
MozReview-Commit-ID: D03prgIdL1M

--HG--
extra : rebase_source : 424372a3499e121cb76553f55d94057b017f2482
2017-01-04 19:21:36 -05:00
Mark Hammond
b59199d7c5 Bug 1324583 - don't log an error on normal FxA device disconnection. r=kitcambridge
MozReview-Commit-ID: 8NG2AftJdDR

--HG--
extra : rebase_source : ffa6499a27e92c2fe2ad94f1a988b435fc7f05b2
2016-12-20 10:00:36 +11:00
Kit Cambridge
8558928fe7 Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ

--HG--
extra : rebase_source : 376b83af517442cc05bc46ff7ca36e6ac46b06e2
2016-12-12 13:50:10 -08:00
Carsten "Tomcat" Book
aa78ba512f Backed out changeset ab4dc22fcd04 (bug 1330821) for OS X S Bustage 2017-01-20 13:51:51 +01:00
Florian Quèze
6dcab6a112 Bug 1330821 - Remove unused files from services/fxaccounts/, r=markh. 2017-01-20 12:50:11 +01:00
Sebastian Hengst
0dc4492dd2 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM
MozReview-Commit-ID: DuzsFEaAeYr

--HG--
extra : rebase_source : b6c4cb95bf0563b0abd48949d50d2c156c86602b
2016-11-05 11:29:21 +01:00
Thom Chiovoloni
a0412a141a Bug 1313731 - Append /v1 to fxaccount's autoconfig's auth_server_base_url if not present r=rfkelly
Currently the fxaccounts content server passes this through directly from its
configuration files, and accepts this as either containing the trailing /v1 or
not. On stage, it contains it, but on dev it does not.

In the near future, it should be possible to append the trailing /v1
unconditionally, as the FxA content server is being changed to never send it
down (which will be consistent with the other prefs), however it's done
conditionally as to not break autoconfig against stage in the mean time.

MozReview-Commit-ID: AStTm2hHVHQ

--HG--
extra : rebase_source : bf98cef357d5834e08a01b3c233a8ccb37243e64
2016-11-02 12:15:26 -04:00
Valentin Gosu
db9440de51 Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Michelangelo De Simone
6b31140392 Bug 1309030 - Remove DOM/identity and related code. r=Ehsan
MozReview-Commit-ID: 2v2ZCSoX4Mz

--HG--
extra : rebase_source : 72cbccd1f59758e290294bfcca56523372978120
2016-10-10 13:55:16 -07:00
Mark Hammond
84add39770 Bug 1305645 - have the FxaPushService log information about push messages received. r=kitcambridge
MozReview-Commit-ID: Jx21Jj92eu4

--HG--
extra : rebase_source : f00c6651650a8980a6b161622f99e0ff0527e881
2016-09-27 17:42:12 +10: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
Phil Booth
6b63924827 Bug 1300297 - Ensure FxA device id is cleared on password change. r=markh
--HG--
extra : rebase_source : 8dd0d1110340525407accf0a6173e09275c90a67
2016-09-03 06:17:00 +02:00
Phil Booth
b1bab4c5a0 Bug 1296328 - Update FxA device registration on password change. r=markh 2016-08-19 04:18:00 -04:00
Mark Hammond
5a17c5e4bc Bug 1183951 - use the uid instead of the email address as the key into the login manager storage for FxA account information. r=kitcambridge
MozReview-Commit-ID: 9oRWMSIOIM4

--HG--
extra : rebase_source : 2862e0ebe4a04ec1a91439a3ff1c7a4ccd087b65
2016-08-16 11:29:35 +10: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
Sumit Tiwari
ec358ae079 Bug 1292995 - Replace Iterator() with Object.{values,entries} in services/; r=gps
MozReview-Commit-ID: 3VEOjAJROld

--HG--
extra : rebase_source : 09102ed0ea8831adc1e6fd5973a290d16afcba03
2016-08-08 22:40:23 -04: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
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Valentin Gosu
ef5a976694 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug
MozReview-Commit-ID: DzRenakrcAG
2016-07-13 15:19:34 +03:00
Edouard Oger
c1194ab1a9 Bug 1277026 - Disconnect Sync and show a notification on FxA remote disconnect. r=markh
MozReview-Commit-ID: Hxz1j5QDkfM

--HG--
extra : transplant_source : J%82i%FD%AA%3D%E6%13%FB%A0%C8%5EC%8F%85%ADq%9C%B9%C8
2016-06-08 10:40:42 -07:00
Edouard Oger
bece0c3893 Bug 1277026 - Handle FxA push payloads. r=kitcambridge
MozReview-Commit-ID: Cd6nKHP2VQi

--HG--
extra : transplant_source : %894T%7Bb%951_I%A5%130%D1%9A%5C%9F%A0%B7%7B%0B
2016-06-08 10:39:57 -07:00
Matthew Noorenberghe
7cd6c3a3bf Backed out changeset 0943ef016d1c (bug 1277026)
MozReview-Commit-ID: HlPMAtJZ2Pp
2016-06-07 16:10:57 -07:00
Matthew Noorenberghe
e74c05284e Backed out changeset 947617c723cd (bug 1277026)
MozReview-Commit-ID: 6wRsDiaxVp1
2016-06-07 16:10:56 -07:00
Edouard Oger
000c4ca9ce Bug 1277026 - Disconnect Sync and show a notification on FxA remote disconnect. r=markh
MozReview-Commit-ID: Hxz1j5QDkfM

--HG--
extra : rebase_source : 396713694fb50042331715dde2d404e32e659815
2016-06-02 15:22:12 -07:00
Edouard Oger
0c9fbf6f6c Bug 1277026 - Handle FxA push payloads. r=kitcambridge
MozReview-Commit-ID: Cd6nKHP2VQi

--HG--
extra : rebase_source : 05d6879df14f85f9f60ed78386f21b8c7fd6c575
2016-06-02 15:21:08 -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
Thom Chiovoloni
190873347a Bug 1189148 - Attempt to refresh the FXA certificate when a 401 is received from the token server. r=markh
MozReview-Commit-ID: B7p6gJ8EJCQ

--HG--
extra : transplant_source : %00%5C%9C%E9%93%CE%95%E3%94%09ba%25g%28%E4%E9%B4r%8C
2016-05-06 12:58:46 -04:00
Mark Hammond
6b55c851a9 Bug 1270160 - gracefully handle no webchannel uri preference or failure to create a channel. r=stomlinson 2016-05-10 16:45:09 +10:00
Edouard Oger
f335d6a4dd Bug 1268761 - Have Firefox re-register the Sync device when new fields are added. r=markh 2016-05-05 14:11:00 -04: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
Kit Cambridge
37fd12e4aa Bug 1266433 - Only load FxAccountsPush in the parent process. r=markh
MozReview-Commit-ID: 9a3PPrNUsCh

--HG--
extra : rebase_source : d3c22145cc3d2b9900e6038d6ca7f44b4cb3056c
2016-04-25 14:19:20 -07:00
Kit Cambridge
4d3a2b014f Bug 1262272 - Unconditionally poll the verification status for FxA push messages. r=markh
MozReview-Commit-ID: Fb7F1bxHO8V

--HG--
extra : rebase_source : 1d8fad8c6a53bc8246a27cbe8a3c936df2c423c9
2016-04-11 11:08:58 -07:00
Kit Cambridge
c5c6301252 Bug 1255302 - Report FxA WebChannel message handling errors to the sender. r=markh,vladikoff
MozReview-Commit-ID: IKPxqdqnhnE

--HG--
extra : rebase_source : bb5b0a76c6ceabaa4a18fa3b792a0fcae18eaafa
2016-04-06 23:02:26 -07:00
Kit Cambridge
2251282d13 Bug 1044530 - Remove invalid session and key fetch tokens from account storage. r=markh
MozReview-Commit-ID: DOLlus0At8s

--HG--
extra : rebase_source : baf9b7ddf71c146995d579d0b6b350f6e315282e
2016-01-20 18:12:22 -08:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -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
aleth
7a2aa607e2 Bug 1259855 - Disable fxaccounts xpcshell tests for Thunderbird. r=kitcambridge
--HG--
extra : rebase_source : da0b577d7d210f4421f75ca667d7439c23107a38
2016-03-25 23:31:41 +01:00
Mark Hammond
cb14fb1dec Bug 1207889 - handle the webchannel changepassword command and update the signed in user. r=kitcambridge 2016-03-23 12:02:29 +11: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
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06: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
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
Hector Zhao
c79f6b0eef Bug 1242972 - Make services/fxaccounts eslintable. r=markh
--HG--
extra : commitid : BibVRwSbUP9
2016-01-26 23:07:56 +08:00
Shane Tomlinson
2bfbabd666 Bug 1204714 - Open Sync Preferences from Firefox Accounts. r=markh
Listen for an |fxaccounts:sync_preferences| WebChannel message. Open
about:preferences#sync in the tab that sent the message.

--HG--
extra : rebase_source : 8830abd3a3c3e7919e82a158eef3d39abbbf8dbc
2016-01-07 21:41:46 +00:00
Wes Kocher
f861f48ea6 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : Es4cn1Rfk4x
2016-01-21 17:37:58 -08:00
aleth
36977bfc4a Bug 1241306 - Disable services/fxaccounts/tests/xpcshell/test_accounts_device_registration.js for Thunderbird. r=markh
--HG--
extra : rebase_source : ad4fe10b36da03402f48c89a864debb66cff9b4f
2016-01-21 12:06:12 +01: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
Mark Hammond
b0294367bc Bug 1236651 - don't log complete FxA webchannel messages by default. r=nalexander 2016-01-05 11:10:41 +11:00
Fernando Jimenez
f72f6601ec Bug 1229023 - Fetch and expose Firefox Accounts profile data. r=markh 2015-12-02 19:41:27 +01:00
Vlad Filippov
8602e16806 Bug 1218022 - switch to fx_desktop_v2 context for Firefox Accounts. r=markh 2015-11-24 15:46:00 +01:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Fernando Jimenez
a2be7792f3 Bug 1215509 - Allow signUp in FxAccountsClient to use ?key=true. r=markh 2015-10-22 16:18:17 +08:00
Fernando Jimenez
22e4079a60 Bug 1211606 - Only fetch keys when Sync is enabled via 'services.sync.enabled' pref changed from Gaia. r=fabrice 2015-10-15 23:36:58 +02:00
Bill McCloskey
c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07: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
Bill McCloskey
207404ad2d Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07: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
Tooru Fujisawa
1bddf54a42 Bug 1207496 - Part 3: Remove use of expression closure from services/fxaccounts/. r=markh
--HG--
extra : commitid : HCAQePE8WbS
extra : rebase_source : 2d0c293f88060e187f92f437b2b45aa2c50cfb04
2015-09-23 18:40:52 +09: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
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Edouard Oger
5b662cbb9a Bug 999190 - Part 2 - Listen to logout commands from fxa remote server. r=markh 2015-09-01 11:42:00 +02:00
Alexandre Lissy
6fe343742d Bug 1164713 - Return error string from FxAccounts. r=ferjm 2015-08-31 07:54:00 -04:00
Yoshi Huang
4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley
edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Mark Hammond
d512c066e4 Bug 1160371 - fix intermittent test_oauth_tokens.js by correctly mocking storage. r=zaach 2015-08-14 10:38:41 +10:00
Mark Hammond
45860c61dd Bug 1182740 - treat keypair and certificate as an atomic pair to avoid invalid assertions. r=stomlinson 2015-07-29 16:06:29 +10:00
Mark Hammond
6830b9db61 Bug 1156752 - explicitly list where each FxA field is stored. r=zaach 2015-07-27 08:58:53 +10:00
Mark Hammond
a81acd67a8 Bug 1184825 - treat FxAccountsWebChannel as a singleton to avoid creating one per window. r=stomlinson 2015-07-23 08:49:22 +10:00
Fernando Jimenez
a5268caf0a Bug 1182071 - Allow System app to fetch Sync keys. r=spenrose 2015-07-21 21:34:37 +02:00
Mark Hammond
b6163b6f17 Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-21 11:23:12 +10:00
Ryan VanderMeulen
e24be3480e Backed out changeset b29ec4137962 (bug 1157529) for various Gaia test failures.
CLOSED TREE
2015-07-19 22:59:07 -04:00
Mark Hammond
816c3dd0be Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-18 18:47:55 +10:00
Carsten "Tomcat" Book
450eb77790 Backed out changeset be39e54d4dff (bug 1157529) for possible causing windows memory leaks 2015-07-15 09:13:36 +02:00
Mark Hammond
201d63d360 Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-15 12:16:21 +10:00
Mark Hammond
ef15096890 Bug 1181952 - limit the number of FxA profile requests we make in a short period. r=zaach
--HG--
extra : rebase_source : 110c6bbc01665ea65a6bed94fc958c8cb4bd78c5
2015-07-15 09:50:59 +10:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Mark Hammond
4311ba661f Bug 1171253 - enable FxA profile image in Sync preferences pane. r=zaach 2015-06-18 19:28:11 +10:00
Zachary Carter
3c7c8f7471 Bug 1165510 - Add "entrypoint" query param to links to FxA settings pages. r=markh 2015-05-15 15:56:00 -04:00
Bobby Holley
42151b7774 Bug 1165162 - Stop recreating principals from the message manager. r=smaug 2015-05-20 17:08:56 -07:00
Bobby Holley
a9e0bc1a93 Bug 1165162 - Fix up test_manager.js to use real principals. rpending=ferjm 2015-05-20 17:08:55 -07:00
Magnus Melin
2c872c71ca Bug 1164658 - disable test_web_channel.js for thunderbird, as it requires weave which thunderbird doesn't have. r=markh
TEST-UNEXPECTED-FAIL | services/fxaccounts/tests/xpcshell/test_web_channel.js | xpcshell return code: 0
TypeError: Cc['@mozilla.org/weave/service;1'] is undefined at resource://gre/modules/FxAccountsWebChannel.jsm:227

--HG--
extra : rebase_source : 2f1822d26743480d2377e343288ae0edd2428330
2015-05-18 08:18:44 +02:00
Mark Banner
d8578f5f36 Bug 1162495 - When using FxAccountsOAuthClient, unable to specify email parameter to go with action="force_auth". r=MattN 2015-05-08 13:46:52 +01:00
Mark Hammond
78fd08e3f7 Bug 1160371 - use mock storage in the oauth token test to avoid intermittent orange on b2g. r=zaach 2015-05-08 11:01:00 +10:00
Shane Tomlinson
c5ec66d94f Bug 1146904: Add the FxAccountsWebChannel to drive Sync
* * *
fix tests
From 6bb486068a8b002f222f4658989968d86df9eff1 Mon Sep 17 00:00:00 2001
---
 .../test/general/browser_fxa_web_channel.html      |   2 +-
 .../test/general/browser_fxa_web_channel.js        | 131 +++++++++++----------
 services/fxaccounts/tests/xpcshell/test_profile.js |  26 ----
 3 files changed, 70 insertions(+), 89 deletions(-)

--HG--
rename : browser/base/content/test/general/browser_fxa_profile_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/general/browser_fxa_profile_channel.js => browser/base/content/test/general/browser_fxa_web_channel.js
rename : services/fxaccounts/FxAccountsProfileChannel.jsm => services/fxaccounts/FxAccountsWebChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_profile_channel.js => services/fxaccounts/tests/xpcshell/test_web_channel.js
2015-04-11 13:23:08 +01:00
Wes Kocher
b3fd288964 Backed out changeset 7ca0864fc405 (bug 1146904) for b2g xpcshell failures
--HG--
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_profile_channel.html
rename : browser/base/content/test/general/browser_fxa_web_channel.js => browser/base/content/test/general/browser_fxa_profile_channel.js
rename : services/fxaccounts/FxAccountsWebChannel.jsm => services/fxaccounts/FxAccountsProfileChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_web_channel.js => services/fxaccounts/tests/xpcshell/test_profile_channel.js
2015-05-05 19:40:55 -07:00
Shane Tomlinson
6afb9dff14 Bug 1146904: Add the FxAccountsWebChannel to drive Sync
* * *
fix tests
From 6bb486068a8b002f222f4658989968d86df9eff1 Mon Sep 17 00:00:00 2001
---
 .../test/general/browser_fxa_web_channel.html      |   2 +-
 .../test/general/browser_fxa_web_channel.js        | 131 +++++++++++----------
 services/fxaccounts/tests/xpcshell/test_profile.js |  26 ----
 3 files changed, 70 insertions(+), 89 deletions(-)

--HG--
rename : browser/base/content/test/general/browser_fxa_profile_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/general/browser_fxa_profile_channel.js => browser/base/content/test/general/browser_fxa_web_channel.js
rename : services/fxaccounts/FxAccountsProfileChannel.jsm => services/fxaccounts/FxAccountsWebChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_profile_channel.js => services/fxaccounts/tests/xpcshell/test_web_channel.js
2015-04-11 13:23:08 +01:00
Mark Hammond
d196e4dd52 Bug 1151666 - avoid multiple verified email timers from running and avoid 'pending' calls in the test. r=zaach 2015-04-30 17:02:02 +10:00
Shane Tomlinson
4b8dab2a11 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +10:00
Mark Hammond
179b24467e Bug 1070115 - pass the uid and email address of the current FxA user to the account manage url. r=zaach 2015-04-24 10:51:20 +10:00
Mark Hammond
a1c3f9294e Bug 1151666 - fix intermittent orange by reducing verified timer intervals and always using mock storage. r=zaach 2015-04-14 10:35:48 +10:00
Mark Hammond
f6ba77b103 Bug 1139743 (part 3) - Cache OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
778766acf8 Bug 1139743 (part 2) - make the 'current account data' less racey. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
ca26750379 Bug 1139743 (part 1) - Use Task.jsm for fetching OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Zachary Carter
5d44db928b Bug 1140627: Make FxAccountsCommon.js variable OAUTH_SERVER_ERRNO_OFFSET non-const, to fix JS warning. r=dholbert 2015-03-31 15:01:31 -07:00
Hiroyuki Ikezoe
c06c81c0ef Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Zachary Carter
8007600342 Bug 1139677 - Display the user's FxA profile image in the Sync Pref pane r=markh,rfeeley 2015-03-27 02:37:55 -07:00