Open Bug 1808903 Opened 2 years ago Updated 2 years ago

[Fx View] Back out / Remove manual device refresh after FxA team fixes device caching issue

Categories

(Firefox :: Firefox View, task)

task
Points:
1

Tracking

()

People

(Reporter: kcochrane, Unassigned)

References

Details

(Whiteboard: [fidefe-fxview-polish])

When only 2 devices (local and 1 other) are signed in to FxA, signing out of the local device and then re-adding it will cause the recentDeviceList to be returned without your current device likely due to a caching issue.

This issue has been written up in bug 1808651 for the FxA team.

This was discovered when investigating bug 1802889 and bug 1803766. The lack of the current device being returned properly was causing the wrong banner/messages to be shown in Tab Pickup in Fx View. As a temporary workaround, we are adding a check for if the current device is not found in that recentDeviceList, we will manually call fxAccounts.device.refreshDeviceList({ ignoredCache: true }).

Once this issue is corrected in bug 1808651, we should be able to remove this check and manual refresh as it will no longer be necessary.

I saw some communication from Mark on this one earlier today. We'll wait on this one to see what comes out of that.

You need to log in before you can comment on or make changes to this bug.