Open Bug 695134 Opened 8 years ago Updated Last year

Clients should advertise feature set

Categories

(Firefox :: Sync, defect)

defect
Not set

Tracking

()

People

(Reporter: gps, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sync:clients][qa?])

Clients should self-advertise their supported features.

Currently, the Clients engine doesn't know anything about a remote client other than its name, type (desktop or mobile), and a set of commands destined for that client.

Advertisement of features leads to better user experience. For example, a client could have confidence that the recipient of a (newly-introduced) command actually has the ability to process that command. Currently, this is best effort, with the sender hoping the recipient knows what to do.

Implementation of this feature will likely be a little hacky. We can't just append fields to existing client records because an old client won't know to include these fields when it touches the record. So, we're probably looking at creating additional client records that track features. At some point in the future (the next API version, for example), we could combine these into the unified client record.

Please note that I'm explicitly requesting "feature" advertisement as opposed to "version" advertisement. Per-feature "flags" are more expressive than bland version identifiers.
Blocks: 745412
Whiteboard: [sync:clients]
Component: Firefox Sync: Backend → Firefox Sync: Cross-client
Depends on: 956936, 956442, 956443, 956935
Whiteboard: [sync:clients] → [sync:clients][qa?]
Component: Firefox Sync: Cross-client → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.