Closed Bug 1251306 Opened 9 years ago Closed 9 years ago

Implement fallback read-only mode for never-synced state

Categories

(Firefox for iOS :: Home screen, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 3.0+ ---

People

(Reporter: rnewman, Assigned: rnewman)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

This is like Bug 1201109, but on top of Bug 1201110.
Attached file Pull req.
Check the last few commits -- this builds on top of #1551. Commit messages are descriptive. You can test this as follows: * Clean install. * Flip AppConstants.shouldMergeBookmarks to false. * Sync with an account with bookmarks. * You should see Desktop Bookmarks, be able to browse it, etc. * You should not be able to delete desktop bookmarks. * You should be able to delete local mobile bookmarks. * You shouldn't be able to delete folders anywhere. * None of your local changes will be uploaded to the server.
Attachment #8724293 - Flags: review?(sleroux)
Attachment #8724293 - Flags: review?(etoop)
Note that there's an async-fetch TODO in there. Working on that now, but won't be done today. I might just not bother with that -- it's a can of worms.
Done, and I fixed a few other lurking bugs while I was there.
Comment on attachment 8724293 [details] [review] Pull req. This still doesn't work for me (see attachments for logs). I tried in these 4 circumstances and got the same behaviour: On fresh install: shouldMergeBookmarks=false On fresh install: shouldMergeBookmarks=true On Upgrade: shouldMergeBookmarks=true On Upgrade: shouldMergeBookmarks=false Desktop bookmark folder still present but empty. Local bookmarks present.
Attachment #8724293 - Flags: feedback+
Depends on: 1252271
Attachment #8724293 - Flags: review?(etoop) → review+
f3d158c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.0
Attachment #8724293 - Flags: review?(sleroux)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: