Newly connected device asking for the device list doesn't see itself.
Categories
(Cloud Services :: Server: Firefox Accounts, task)
Tracking
(Not tracked)
People
(Reporter: markh, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- Open the devtools network tab.
- Connect a device to Sync.
- Find the request to
https://api.accounts.firefox.com/v1/account/devices?...
and look at the response.
Expected:
- One of the devices has an entry
currentDevice: true
Actual: - None do.
A later request to this end-point does return the current device, however we normally don't re-request the devices for at least a minute.
This can lead to subtle bugs, including a delay before we can check our registration, and confuses some other code that always assumes our device is there (eg, code which assumes the count of devices being 1 means we are the only device connected will be wrong - eg, bug 1804363)
The proposed work-around for that bug is to force rehitting that end-point more often, but that doesn't seem ideal for a variety of reasons - can this be fixed?
(I did a quick check to ensure that the new-ish filterIdleDevicesTimestamp
param isn't responsible for this, but it appears to happen even if I hack firefox to not use that param)
Comment 1•2 years ago
|
||
This might be related to this https://bugzilla.mozilla.org/show_bug.cgi?id=1805700
Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Vijay Budhram from comment #1)
This might be related to this https://bugzilla.mozilla.org/show_bug.cgi?id=1805700
As I noted, this happens even without the filterIdleDevicesTimestamp
param.
Comment 3•7 months ago
|
||
Description
•