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

359 Коммитов

Автор SHA1 Сообщение Дата
Edouard Oger ae62aef149 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : c160a5a1d7753d41c7afec3a822aefa9461684e6
2017-11-17 16:48:17 -05:00
Noemi Erli e5e82c8496 Backed out changeset 932a77d8fbae (bug 1418466) for ES failures in /builds/worker/checkouts/gecko/browser/base/content/browser-sync.js r=backout on a CLOSED TREE 2017-11-30 18:44:16 +02:00
Edouard Oger 016b5734e5 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : e8628aba338b19142dc63add9bb380042096053f
2017-11-17 16:48:17 -05:00
Ryan Leake 7822b14bda Bug 1346072 - Remove accounts.firefox.com from the whitelist of domains allowed to send objects over webchannels. r=markh
MozReview-Commit-ID: 4ts3uBPuXom

--HG--
extra : rebase_source : 0dced36f4c14f8fb4f7633f3b265ac22d95ecfd7
2017-11-24 20:24:42 +00:00
Mark Banner 315a813f56 Bug 1415343 - Remove useless check for target window from FxAccountsWebChannel.jsm. r=markh
MozReview-Commit-ID: 4rFCNbMSF0a

--HG--
extra : rebase_source : 5d9ff600453d47afb4791a43bc6b043677c70cdb
2017-11-09 08:10:37 +00:00
Mark Banner c9b01d9a02 Bug 1415345 - Fix undefined variable in error message in FxAccountsStorageManager#getAccountData. r=markh
MozReview-Commit-ID: 4mCdPfKX5lz

--HG--
extra : rebase_source : 898771109c879f950d607273bc469734a9a0f99d
2017-11-07 23:00:26 +00: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
Edouard Oger 76547f53cc Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : aaa788be5251607ebedcb5b690da0e2a1a64e2cb
2017-10-24 14:05:52 -04:00
Sebastian Hengst 93903f0306 Backed out 2 changesets (bug 1395460) for eslint failure at browser/components/uitour/UITour.jsm:556 (no return value from arrow function). r=backout on a CLOSED TREE
Backed out changeset 0bc6d186d609 (bug 1395460)
Backed out changeset 6c028123001d (bug 1395460)
2017-10-26 23:33:04 +02:00
Edouard Oger 58876ecbe9 Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : 9da1cea9fb6494c057bc6587a7bcbdb4ac127448
2017-10-24 14:05:52 -04:00
Edouard Oger 4a0a0ce970 Bug 1411714 - Handle action=email in about:accounts. r=tcsc
MozReview-Commit-ID: 5U6Qy78S1Nl

--HG--
extra : rebase_source : 69368eca5243d418c9705959be81f724351291c6
2017-10-25 16:41:37 -04: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
Thom Chiovoloni 83f6879b5d Bug 1052247 - Enforce that OAuth is done over HTTPS in FxAccountsOAuthClient. r=markh
It now follows the setting of the identity.fxaccounts.allowHttp preference.

MozReview-Commit-ID: 9646Xi48QMP

--HG--
extra : rebase_source : 630e65bebc00e755ca3be1d159e08fec738d590f
2017-10-04 16:22:45 -04:00
Edouard Oger 27eb845182 Bug 1401590 - Mock FxAccounts#newAccountState in push service tests. r=markh
MozReview-Commit-ID: 8kVtWbPKp65

--HG--
extra : rebase_source : cb970e68e7be85ea53723207b91c7981b84d41a4
2017-09-21 13:27:46 -04:00
Edouard Oger dc3b62bea0 Bug 1383663 part 3 - Update FxA local state on profile email change. r=markh
MozReview-Commit-ID: 5epKjoT4TF3

--HG--
extra : rebase_source : 3c9737d304d2a4a4448e43c1f4a13e738716453e
2017-08-21 17:01:57 -04:00
Phil Ringnalda e6c038d6ee Backed out 3 changesets (bug 1383663) for timeouts in browser_aboutAccounts.js and failures in test_web_channel.js
Backed out changeset f384a524cac6 (bug 1383663)
Backed out changeset 9d26a627e2f8 (bug 1383663)
Backed out changeset c7d46e2e8ddc (bug 1383663)

MozReview-Commit-ID: 88xbdeVJtK2
2017-09-16 10:40:00 -07:00
Edouard Oger 3d91da7159 Bug 1383663 part 3 - Update FxA local state on profile email change. r=markh
MozReview-Commit-ID: 5epKjoT4TF3

--HG--
extra : rebase_source : 437b8d56d48898b347ecaf3d9ca0f6cc3176d2e2
2017-08-21 17:01:57 -04:00
Kris Maglione f829523282 Bug 1371065: Part 0 - Fix unit tests that use the SDK loader :/ r=Mossop
MozReview-Commit-ID: 4ewrbY0FS09

--HG--
extra : rebase_source : 390256a9eb0d303d8582c24d69fff189b0e0ab4d
2017-09-08 18:16:50 -07:00
Mark Hammond 5317324bec Bug 1397537 - check FxA has a session token and enter a needs-reauth state even when the user is unverified. r=eoger
MozReview-Commit-ID: KuldXySDvt4

--HG--
extra : rebase_source : 9b33265b341e7fcd5be9dc6e3b01d218ce1aabca
2017-09-07 11:13:53 +10:00
Mark Hammond 5cff6fa2da Bug 1397530 - report all exceptions checking the account status. r=eoger
MozReview-Commit-ID: ClCaDhgdQ0a

--HG--
extra : rebase_source : 615b32fbe5a7b7dd86191e66985c08905edb2c52
2017-09-07 09:35:47 +10:00
Kris Maglione 8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Mark Banner a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Daniel Holbert 3fd6606bcc Bug 1389141: Clean up trailing newline for 2 files in "services" directory. r=markh
DONTBUILD because whitespace-only.
Notes:
 * hawkrequest.js has a redundant trailing newline; this patch removes it.
 * browser.ini is missing a trailing newline; this patch gives it one.

MozReview-Commit-ID: DYstjpDejgg
2017-08-10 15:55:50 -07:00
Eric Rahm 7eae341db9 Bug 1386825 - Part 6: Remove FxAccountsManager now that MOZ_B2G is removed. r=markh
MozReview-Commit-ID: 8ldrMrPqhsV
2017-08-08 14:41:12 -07:00
Eric Rahm fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
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 dfba49cf8d Bug 1122443 - Decrease FxA email status polling frequency. r=markh
MozReview-Commit-ID: L8QQwgWqsyH

--HG--
extra : rebase_source : 75c1a88b05c788ff32c30f8b4b03513e8f217614
2017-07-19 16:05:34 -04:00
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