> Isn't search history a subset of form history? > > (Bug 461820 prevented it from being saved/retrieved for web forms, but > as far as I know the storage is still shared.)
You’re right, and it syncs (between desktops). Neat! Thanks for pointing that out! The downsides for this that I can see: * We don’t sync form history on any other platforms right now. Is it overkill to implement form history syncing (whole or partial) in order to get search terms? (A partial implementation is somewhat incompatible with Sync’s expectation that clients can reupload all the data when necessary, but we can gloss over that). * My Sync account has over 700 form records. Locally I have about 10k (there’s a 60-day TTL). 4k of those local records are searches. For a new pairing of two devices, we’re asking them to throw away more than half the data they downloaded in order to get to the searches. Perhaps that’s not a big deal. * We lose the ability to record data that aren’t tracked in the Sync form history record format (e.g., counts and times). So perhaps this proposal becomes: expand the form history record format (which we already want to do, because it’s incredibly limited), document that name=“search-history” is special, and implement a partial form history sync on other platforms. Does anyone see problems with doing so, other than the issues outlined for similar extensions in Bug 720592 and Bug 555755? Is there any plan to change how this is done on desktop? _______________________________________________ Sync-dev mailing list [email protected] https://mail.mozilla.org/listinfo/sync-dev

