Closed Bug 1481445 Opened 6 years ago Closed 6 years ago

Remove nsINavBookmarksService::mobileFolder and PlacesUtils.mobileFolderId

Categories

(Toolkit :: Places, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsearch])

Attachments

(3 files)

In our quest to stop relying on ids for bookmarks, we're now close enough to being able to start removing some of the built-in folder root id helpers, or at least some of the usages.

For mobileFolderId we can replace everything - the main use of it at the moment is for PU.promiseBookmarksTree (easy to replace with guids), and PU.isRootItem. 

isRootItem is also easy, though one of the tests really needed an update for async usage.
Priority: -- → P2
Whiteboard: [fxsearch]
Comment on attachment 8998166 [details]
Bug 1481445 - Replace usage of the old bookmark ids in promiseBookmarksTree with guids.

Lina Cambridge (she/her) [:lina] has approved the revision.

https://phabricator.services.mozilla.com/D2850
Attachment #8998166 - Flags: review+
Comment on attachment 8998168 [details]
Bug 1481445 - Remove nsINavBookmarksService::mobileFolder and PlacesUtils.mobileFolderId.

Lina Cambridge (she/her) [:lina] has approved the revision.

https://phabricator.services.mozilla.com/D2852
Attachment #8998168 - Flags: review+
Comment on attachment 8998167 [details]
Bug 1481445 - Remove the id option for PlacesUtils.isRootItem (guids only accepted).

Lina Cambridge (she/her) [:lina] has approved the revision.

https://phabricator.services.mozilla.com/D2851
Attachment #8998167 - Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bb1e58f3dad7
Replace usage of the old bookmark ids in promiseBookmarksTree with guids. r=lina
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d7e3e9bba8e0
Remove the id option for PlacesUtils.isRootItem (guids only accepted). r=lina
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b2f2e3b2bae
Remove nsINavBookmarksService::mobileFolder and PlacesUtils.mobileFolderId. r=lina
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: