gecko-dev/browser/components/about
Lina Cambridge 397d3a1156 Bug 1583413 - Fetch the Send Tab target list from FxA, not Sync. r=markh,eoger
Instead of using the list of FxA devices from the Sync clients engine,
we now fetch the list of Send Tab devices from FxA. This works like
this:

* `FxAccountsDevice#getDeviceList` has been split up into
  `recentDeviceList` and `refreshDeviceList`.
* `recentDeviceList` synchronously returns the last fetched list, so
  that consumers like Send Tab can use it right away.
* `refreshDeviceList` is asynchronous, and refreshes the last fetched
  list. Refreshes are limited to once every minute by default, matching
  the minimum sync interval (Send Tab passes the `ignoreCached` option
  to override the limit if the user clicks the "refresh" button).
  Concurrent calls to `refreshDeviceList` are also serialized, to
  ensure the list is only fetched once.
* The list is flagged as stale when a device is connected or
  disconnected. It's still kept around, but the next call to
  `refreshDeviceList` will fetch a new list from the server.
* The Send Tab UI refreshes FxA devices in the background. Matching FxA
  devices to Sync client records is best effort; we don't do it if Sync
  isn't configured or hasn't run yet. This only impacts the fallback
  case if the target doesn't support FxA commands.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 22:40:55 +00:00
..
test/unit Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
AboutNetErrorHandler.jsm Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh 2019-09-17 09:49:59 +00:00
AboutPrivateBrowsingHandler.jsm Bug 1576158 - Display the private browsing engine on the private browsing page. r=Mardak 2019-09-27 14:54:38 +00:00
AboutProtectionsHandler.jsm Bug 1583413 - Fetch the Send Tab target list from FxA, not Sync. r=markh,eoger 2019-10-03 22:40:55 +00:00
AboutRedirector.cpp Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod 2019-05-29 11:31:31 +00:00
AboutRedirector.h Bug 1548463 - Base page for HTML-based login manager. r=MattN,flod 2019-05-08 19:17:02 +00:00
components.conf Bug 1549825 - Create empty about:protections page. r=johannh,baku 2019-05-21 18:32:32 +00:00
moz.build Bug 1549831 - Set up RPM Handler for about:protections. r=nhnt11,johannh 2019-05-24 16:01:09 +00:00