Closed Bug 1158216 Opened 10 years ago Closed 9 years ago

Sync passwords

Categories

(Firefox for iOS :: Sync, defect)

All
iOS 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: rnewman, Assigned: rnewman)

References

(Blocks 2 open bugs)

Details

(Whiteboard: noteworthy)

Attachments

(1 file)

47 bytes, text/x-github-pull-request
st3fan
: review+
nalexander
: review+
Details | Review
Just another brick in the syncing wall.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Depends on: 1171657
Blocks: 1109786
tracking-fxios: --- → +
Notes to self: * Some local timestamps are microseconds. Synced timestamps are all milliseconds. * Only Android records will have timestamps. Desktops don't upload them yet. That means we need to handle missing ones. * Furthermore, we have to handle records where our mirror record has *lost* fields.
Attached file Pull req.
This needs rollup and more tests, but I think this is ready for review.
Attachment #8627190 - Flags: review?(sarentz)
Attachment #8627190 - Flags: review?(nalexander)
TODO: "httpRealm string: the HTTP Realm for which the login is valid. if not provided by the server, the value is the same as hostname"
Leaving my testing results: * Added on iOS * Added on desktop * Modified on each * Deleted on each * Form fill works correctly on desktop * Form fill is busted on iOS, but (a) it was busted before, and (b) I see that the DB is returning a matching row, so I'm confident that this is an issue in LoginHelper that we can fix separately. Desktop UUIDs and iOS GUIDs work correctly on both platforms, it seems.
Blocks: 1178582
Blocks: 1178585
Comment on attachment 8627190 [details] [review] Pull req. This looks pretty good. Do you have integration tests planned? I mean, tests where we hit the server from two client instances to see if they sync correctly? (I don't know if that is even possible, but I think that would be great to have on top of sync engines) I see you silenced the sqlite compile warnings. Maybe move that to a separate PR or at least a separate commit? I created bug 1178795 for this.
Attachment #8627190 - Flags: review?(sarentz) → review+
Comment on attachment 8627190 [details] [review] Pull req. Comments on GH, but nothing major. The hard work was mostly in storage earlier -- bravo \o/
Attachment #8627190 - Flags: review?(nalexander) → review+
> This looks pretty good. Do you have integration tests planned? I mean, tests > where we hit the server from two client instances to see if they sync > correctly? (I don't know if that is even possible, but I think that would be > great to have on top of sync engines) I really want to do this, but it's a pretty big job -- basically implementing TPS for iOS. Not something we can do for v1, but it's an acknowledged chunk of debt. Thanks, both of you, for the thorough review! https://github.com/mozilla/firefox-ios/commit/4b655e915a9ec983c525aa38fc6d2de113d5c582
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: noteworthy
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: