Open Bug 1077706 Opened 5 years ago Updated 5 years ago

Do not add default bookmarks for Marketplace and AMO in guest profiles

Categories

(Firefox for Android :: Data Providers, defect, P5)

All
Android
defect

Tracking

()

Tracking Status
fennec + ---

People

(Reporter: rnewman, Unassigned)

References

(Depends on 1 open bug)

Details

… given that we don't allow you to install either of those things!
This is slightly non-trivial: LocalBrowserDB#addDefaultBookmarks doesn't know what kind of profile it's inserting into (and can't/shouldn't guess), and the default bookmarks are loaded from our strings.

We might need to extend the current approach by defining resources like bookmarkdefaults_guest_whatever to define whether a bookmark should be added to a guest profile, and then thread some kind of filtering flag into enqueueProfileInit.
Another way to approach this -- don't show Top Sites or Bookmarks at all in Guest Mode: Bug 1034214.

That way we wouldn't need to init the DB at all.
Depends on: 1034214
Priority: -- → P5
tracking-fennec: ? → +
You need to log in before you can comment on or make changes to this bug.